March 2018
Beginner to intermediate
656 pages
20h 9m
English
SHA-256 has the input message size < 264-bits. Block size is 512-bits, and it has a word size of 32-bits. The output is a 256-bit digest.
The compression function processes a 512-bit message block and a 256-bit intermediate hash value. There are two main components of this function: the compression function and a message schedule.
The algorithm works as follows, in eight steps: