I don't know about 224 and there isn't any 128 but for SHA-1 (160) the
initial values seem to be just an obvious pattern:

A = 0x67452301
B = 0xefcdab89
C = 0x89badcfe
D = 0x10325476
E = 0xc3d2e1f0

If for 128 you meant MD-5, its initial values are an even simpler
pattern

A = 0x01234567
B = 0x89abcdef
C = 0xfedcba98
D = 0x76543210

Thanks,
Donald
======================================================================
 Donald E. Eastlake 3rd                       [EMAIL PROTECTED]
 155 Beaver Street              +1-508-634-2066(h) +1-508-786-7554(w)
 Milford, MA 01757 USA                   [EMAIL PROTECTED]

On Sat, 6 Dec 2003, Jeremiah Rogers wrote:

> Date: Sat, 6 Dec 2003 03:26:36 -0500
> From: Jeremiah Rogers <[EMAIL PROTECTED]>
> To: crypto list <[EMAIL PROTECTED]>
> Subject: origin of SHA 224 initial hash values
>
> I'm having trouble pinpointing the origin of the initial hash values
> for SHA 224 and, for that matter, 128. These values are defined as hex
> representations of cube roots of primes for sha-1 of lengths 256, 384
> and 512, but  I can't find where they were obtained for the shorter
> lengths.
>
> Thanks and apologies if this is something well known.
>
> - jeremiah

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to [EMAIL PROTECTED]

Reply via email to