4 - Unit 2 Crypto Basics, SHA Algorithms
4 - Unit 2 Crypto Basics, SHA Algorithms
4 - Unit 2 Crypto Basics, SHA Algorithms
1. Padding of the message, which is used to make the length of a block to 512-
bits if it is smaller than the required block size of 512-bits.
2. Parsing the message into message blocks that ensure that the message and
its padding is divided into equal blocks of 512- bits.
3. Setting up the initial hash value, which is the eight 32-bit words obtained by
taking the first 32-bits of the fractional parts of the
square roots of the first eight prime numbers.
4. These initial values are randomly chosen in order to initialize the process
and gives a level of confidence that no backdoor exists in the
algorithm.
Hash computation: