import hashlib


def encrypt_password(password):
    """
    returns md5-encrypted password
    :param password:
    :return:
    """
    hash_value = hashlib.md5(password.encode()).hexdigest()
    return hash_value