A cryptographic algorithm that converts input data of any size into a fixed-length output string, designed to be computationally infeasible to reverse. Hash functions are fundamental to blockchain security, enabling proof-of-work mining, transaction verification, and data integrity checks. Common hash functions include SHA-256 used in Bitcoin and Keccak-256 used in Ethereum.