Generate a hash over data for immutable storage.
    Return the hex string.

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()