SHA-1, Step by Step
Pad a message, and expand its sixteen words into eighty. Step through one of the eighty steps, then finish the block.
Describe SHA-1 padding and how its length field differs from MD5's.
Compute an expanded word from its four sources and say why the first sixteen are not computed.
Explain what the one-bit rotation in the expansion does to bit positions.
Trace one SHA-1 step, naming the function and constant that change every twenty steps.
Explain the feed-forward at the end of a block and why the steps cannot simply be run backwards.