import hashlib


def _generate_verifier(muuid, address):
    """Internal function for generating hash value from Maya UUID and address

    Arguments:
        muuid (str): Maya UUID string
        address (str): Previous generated address id from node

    Note:
        Faster then uuid5.

    """
    hasher = hashlib.sha1()
    hasher.update(muuid + ":" + address)
    return hasher.hexdigest()