Computer Security Resource Center

Computer Security Resource Center

Computer Security
Resource Center

This is an archive
(replace .gov by .rip)

Cryptographic Algorithm Validation Program

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:


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

 

Created October 05, 2016, Updated April 11, 2018