Skip to main content
added 5 characters in body; edited title
Source Link
Maarten Bodewes
  • 94.5k
  • 13
  • 165
  • 319

How are the IVs of SHA512SHA-512/256 and SHA512SHA-512/224 calculated?

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA512SHA-512 and SHA384SHA-384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA256SHA-256 and SHA224SHA-224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA512SHA-512/224? How on earth are 0x8C3D37C819544DA2 and others calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

How are the IVs of SHA512/256 and SHA512/224 calculated?

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA512 and SHA384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA256 and SHA224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA512/224? How on earth are 0x8C3D37C819544DA2 and others calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

How are the IVs of SHA-512/256 and SHA-512/224 calculated?

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA-512 and SHA-384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA-256 and SHA-224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA-512/224? How on earth are 0x8C3D37C819544DA2 and others calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

Tweeted twitter.com/StackCrypto/status/727856764222345217
simplified title, making it a question
Link
otus
  • 32.4k
  • 5
  • 73
  • 167

How are the initializer valuesIVs of SHA512/256 and SHA512/224 are calculated?

edited body; edited tags
Source Link
otus
  • 32.4k
  • 5
  • 73
  • 167

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA512 and SHA384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA256 and SHA224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA512/224? How on earth are 0x8C3D37C819544DA2 and others are calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA512 and SHA384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA256 and SHA224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA512/224? How on earth 0x8C3D37C819544DA2 and others are calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

This seems odd to me, because there are a lot of resources out there saying that the initializer values of SHA512 and SHA384 are the first 64 bits of the fractional parts of the square roots of prime numbers. For SHA256 and SHA224, the 32 LSBs or MSBs of those values are used.

But this question came into my mind that what about SHA512/224? How on earth are 0x8C3D37C819544DA2 and others calculated? And I have searched a lot and ironically, had no luck.

So, how are those calculated?

Source Link
polfosol
  • 211
  • 2
  • 9
Loading