libhasha 2.2.2
Loading...
Searching...
No Matches
sha2_k.h File Reference

SHA-2 Constants for Hash Computation. More...

Include dependency graph for sha2_k.h:

Go to the source code of this file.

Detailed Description

SHA-2 Constants for Hash Computation.

This header defines the round constants (K) and initial hash values (H0) used in various SHA-2 hashing algorithms, including SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256.

These constants are precomputed fractional values of cube roots and square roots of prime numbers, as specified in the FIPS 180-4 standard.

Definition in file sha2_k.h.