Hash Function Properties
Cryptographic hash functions have key properties: Deterministic (same input always produces same output), quick computation, avalanche effect (small input change causes large output change), one-way (infeasible to reverse), collision-resistant (hard to find two inputs with same hash). SHA family uses Merkle-Damgård construction: message broken into blocks, processed through compression function with chaining. SHA-256 uses 64 rounds of bitwise operations (AND, OR, XOR, rotation, addition mod 2³²) on 512-bit blocks with 8 working variables. MD5 (broken, collisions found) and SHA-1 (deprecated) remain for non-security checksums.