def hash_function()

in core/views.py [0:0]


def hash_function(text): 
    """Hashes a string using SHA256."""
    return hashlib.sha256(text.encode()).hexdigest()