What is Hash Function?
A cryptographic hash function takes any input and produces a fixed-size output (256 bits for SHA-256). Good hash functions are deterministic, fast, irreversible and collision-resistant. Hashes are the building blocks of blockchain integrity.
Why Hash Function matters
Understanding Hash Function is part of building a solid mental model of how Bitcoin, blockchain and Web3 systems actually work. Concepts in the Cryptography category sit at the foundation of the broader stack — get them right and the rest is far easier.
Learn this interactively
Reading the definition is a start. ZeroToBlock teaches concepts like Hash Function through hands-on, browser-based simulations. Build the mental model by actually using it:
- Bitcoin 101 — interactive fundamentals course
- Bitcoin Proof of Work — mining, hashing and consensus
- Browse all interactive blockchain courses
Related terms
- SHA-256 — The hash function Bitcoin uses everywhere.
- Merkle Root — The single hash summarising all transactions in a block.
- Block Header — The metadata at the top of each block.
More cryptography terms
- Digital Signature — A cryptographic proof that the holder of a private key authorised a message.
- ECDSA — Elliptic Curve Digital Signature Algorithm.
- Merkle Tree — A binary tree of hashes used to summarise data efficiently.
- Private Key — The secret number that authorises spending from an address.
- Public Key — The shareable counterpart to a private key.
- Zero-Knowledge Proof — Proving you know something without revealing what it is.
- Schnorr Signature — A signature scheme enabling key aggregation.
- Merkle Proof — Compact proof that a transaction is in a block.
Keep exploring
Continue with the full blockchain glossary — 136 terms in total — or read the developer blog and FAQ for deeper context.