SHA-256 Hashing

Computer Science

How It Works

SHA-256 is an industry-standard cryptographic hash algorithm adhering to the Merkle-Damgård iterative compression framework, mapping arbitrary-length message blocks to an irreversible 256-bit hash digest. Input bitstreams are padded and partitioned into 512-bit blocks, sequentially mutating eight 32-bit internal working registers across 64 compression rounds. Bitwise nonlinear operations (Choose, Majority, and Rotational Sigma functions) impart strong pre-image collision resistance.

Governing Equation
T_1 = h + Σ_1(e) + Ch(e, f, g) + K_t + W_t , T_2 = Σ_0(a) + Maj(a, b, c)