def digest_password(realm, username, password):
    content = "%s:%s:%s" % (username, realm, password)
    if six.PY3:
        content = content.encode('utf8')
    return md5(content).hexdigest()
Test cases for lusmu.vector.VectorEq._value_eq() with pandas Series
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/auth/digest.py/digest_password--crossover with--dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_vector.py/test_mixed_vector_equality