<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_text(text):
 """Return MD5 hash of a string."""

    md5 = hashlib.md5()
    md5.update(text)
    return md5.hexdigest()