@misc{rfc4634, series = {Request for Comments}, number = 4634, howpublished = {RFC 4634}, publisher = {RFC Editor}, doi = {10.17487/RFC4634}, url = {https://www.rfc-editor.org/info/rfc4634}, author = {Tony Hansen and Donald E. Eastlake 3rd}, title = {{US Secure Hash Algorithms (SHA and HMAC-SHA)}}, pagetotal = 108, year = 2006, month = aug, abstract = {The United States of America has adopted a suite of Secure Hash Algorithms (SHAs), including four beyond SHA-1, as part of a Federal Information Processing Standard (FIPS), specifically SHA-224 (RFC 3874), SHA-256, SHA-384, and SHA-512. The purpose of this document is to make source code performing these hash functions conveniently available to the Internet community. The sample code supports input strings of arbitrary bit length. SHA-1's sample code from RFC 3174 has also been updated to handle input strings of arbitrary bit length. Most of the text herein was adapted by the authors from FIPS 180-2. Code to perform SHA-based HMACs, with arbitrary bit length text, is also included. This memo provides information for the Internet community.}, }