SHA-256 is a cryptographic hash function used in Bitcoin’s proof-of-work consensus mechanism.