Question: 1 . The very first step in the SHA 1 algorithm is to pad the messageso that it is a multiple of 5 1 2
The very first step in the SHA algorithm is to pad the messageso that it is a multiple of bits. This padding occurs as follows from NIST FPS : Suppose the length of the message M is L bits. Append bit to the end of the message, followed by K zero bits where K is the smallest nonnegative solution to L K mod Next append a bit block thatis a binary representation ofthe length integer L For example, Message "abc" length L bits a b c Now here is the question: Why do we include the length of themessage in the calculation of the hash code?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
