Overview#
Is
SHA-2 Block
Cipher with a 256-
bit Message-Digest.
SHA256 (and most Secure Hash Algorithms) takes some bytes message that is run through the Hash Function
- it first pads the message Padded
- then breaks it up into chunks (Block Cipher)
- passes these chunks into what can best be described as a fancy "bit mixer"
- that contains a number of bit shifts and binary operations orchestrated in a particular way
The results are properties that SHA256 offers
- creates a fixed-sized
- random-looking short digest of any variably-sized original message
- is non-reversible
- it is basically computationally impossible to construct a different message that hashes to any given digest (Collision Resistance).
There might be more information for this subject on one of the following: