[FIPS02] FIPS. Secure Hash Standard, Aug 2002.
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenoti
ce.pdf.
Page 73, "Truncation of the Hash Function Output"
Hope this helps,
Chris
Kelly Robinson schrieb:
> Lets say I have a set of records, each of which is 24 bytes long, I
> want to hash with MD2.
>
> However, I think it is wasteful to hash 24 bytes of data using a
> 128-bit message digest, so I decide to use only the lower 32 bits of
> data produced by the hash algorithm.
>
> Does this have any security implications?
there is a note on this problem in:
[FIPS02] FIPS. Secure Hash Standard, Aug 2002.
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenoti
ce.pdf.
Page 73, "Truncation of the Hash Function Output"
Hope this helps,
Chris
Kelly Robinson schrieb:
> Lets say I have a set of records, each of which is 24 bytes long, I
> want to hash with MD2.
>
> However, I think it is wasteful to hash 24 bytes of data using a
> 128-bit message digest, so I decide to use only the lower 32 bits of
> data produced by the hash algorithm.
>
> Does this have any security implications?
[ reply ]