Hash Function
Beginner
A deterministic function that maps arbitrary-length input data to a fixed-length output (digest) in a way that is fast to compute but infeasible to reverse. Bitcoin uses SHA-256 (double-hashed) for block mining and transaction IDs; Ethereum uses Keccak-256. Collision resistance — the inability to find two inputs that produce the same hash — is fundamental to blockchain integrity.