Try the new CSRC.nist.gov and let us know what you think!
(Note: Beta site content may not be complete.)

View the beta site
NIST Logo and ITL Banner Link to the NIST Homepage Link to the ITL Homepage Link to the NIST Homepage

CAVP Testing: Secure Hashing

Algorithm Specifications

Algorithm specifications for current FIPS-approved and NIST-recommended secure hashing algorithms are available from the Cryptographic Toolkit.

Current testing includes the following algorithms:

SHA-1 and SHA-2 Hash functions: SHA-1 SHA-224 SHA-256 SHA-384 SHA-512 SHA-512/224 SHA-512/256 (in FIPS 180-4)

SHA-3 Hash functions: SHA3-224 SHA3-256 SHA3-384 SHA3-512 and XOFs: SHAKE128 SHAKE256 (in FIPS 202)

Algorithm Validation Testing Requirements

FIPS 202

SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions

Secure Hash Algorithm-3 Validation System (SHA3VS) specifies validation testing requirements for the SHA3 family of functions in FIPS 202.

Testing Notes

 

Secure Hash Algorithm

Secure Hash Standard Validation System (SHAVS) specifies validation testing requirements for the SHA-1 and SHA-2 family of functions in FIPS 180-4.

Testing Notes

Back to Top

 

Validation Lists

Secure hashing implementations validated by NIST are found on the SHS and SHA-3 Validation Lists:

Back to Top

 

Test Vectors

Use of these test vectors does not replace validation obtained through the CAVP.

The test vectors linked below can be used to informally verify the correctness of secure hash algorithm implementations (in FIPS 180-4 and FIPS 202) using the validation systems listed above.

Response files (.rsp): the test vectors are properly formatted in response (.rsp) files. Vendor response files must match this format exactly.

Intermediate results files (.txt): files with intermediate results (.txt) are supplied to help with debugging.

See the README file in each zip file for details.

Publication Algorithm Test Vectors
FIPS 202

SHA-3 Hash Function Test Vectors for Hashing Bit-Oriented Messages
SHA-3 Hash Function Test Vectors for Hashing Byte-Oriented Messages

SHA-3 XOF Test Vectors for Bit-Oriented Output
SHA-3 XOF Test Vectors for Byte-Oriented Output

FIPS 180-4 SHA Test Vectors for Hashing Bit-Oriented Messages
SHA Test Vectors for Hashing Byte-Oriented Messages

Back to Top