import hashlib


def md5(string):
    """Computes and returns an md5 digest of the supplied string

    Args:
        string: string to digest

    Returns:
        digest value
    """

    return hashlib.md5(string.encode('UTF-8')).hexdigest()