<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_data_hash(data_txt):
 """ Generate a hash over data for immutable storage. Return the hex string. """

    h = hashlib.sha256()
    h.update(data_txt)
    return h.hexdigest()