Hash functionApplies to: cybersecurity, python, generalA hash function maps input data to a fixed-size digest. Cryptographic hashes are designed to resist reversal and collisions. hashlib.sha256(data).hexdigest() See also: hmac, salt