<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hash_evidence(text: str, type: str, reference: str) -> str: """Create a hash for an evidence and its citation. :param text: The evidence text :param type: The corresponding citation type :param reference: The citation reference """

    s = u'{type}:{reference}:{text}'.format(type=type, reference=reference, text=text)
    return hashlib.sha512(s.encode('utf8')).hexdigest()