Comparison of SHA Functions
In the table below, internal state means the “internal hash sum” after each compression of a data block.
Further information: Merkle–Damgård constructionAlgorithm and variant | Output size (bits) |
Internal state size (bits) |
Block size (bits) |
Max message size (bits) |
Word size (bits) |
Rounds | Operations | Collisions found? |
|
---|---|---|---|---|---|---|---|---|---|
SHA-0 | 160 | 160 | 512 | 264 − 1 | 32 | 80 | add, and, or, xor, rotate, mod | Yes | |
SHA-1 | Theoretical attack (251) | ||||||||
SHA-2 | SHA-256/224 | 256/224 | 256 | 512 | 264 − 1 | 32 | 64 | add, and, or, xor, rotate, mod, shift | No |
SHA-512/384 | 512/384 | 512 | 1024 | 2128 − 1 | 64 | 80 |
Read more about this topic: SHA-1
Famous quotes containing the words comparison of, comparison and/or functions:
“We teach boys to be such men as we are. We do not teach them to aspire to be all they can. We do not give them a training as if we believed in their noble nature. We scarce educate their bodies. We do not train the eye and the hand. We exercise their understandings to the apprehension and comparison of some facts, to a skill in numbers, in words; we aim to make accountants, attorneys, engineers; but not to make able, earnest, great- hearted men.”
—Ralph Waldo Emerson (18031882)
“Clay answered the petition by declaring that while he looked on the institution of slavery as an evil, it was nothing in comparison with the far greater evil which would inevitably flow from a sudden and indiscriminate emancipation.”
—State of Indiana, U.S. public relief program (1935-1943)
“Empirical science is apt to cloud the sight, and, by the very knowledge of functions and processes, to bereave the student of the manly contemplation of the whole.”
—Ralph Waldo Emerson (18031882)