The Standing LibraryOffline reference for long outages
Directory

DIG-012

Secure Hash Standard (SHS), FIPS PUB 180-4, August 2015

Publisher
National Institute of Standards and Technology
Edition
FIPS PUB 180-4; August 2015
Published
2015
Form
PDF, 36 pages
Size
814 KB
Record
Fingerprint recorded

A federal standard from the National Institute of Standards and Technology that specifies secure hash algorithms, SHA-256 among them. A message digest made with these algorithms is used to detect whether a message has changed since the digest was generated, which is the purpose of the fingerprints recorded throughout this library.123

Its applicability clause names federal departments and agencies, for the protection of sensitive unclassified information, with stated exceptions. Organizations outside the federal government may adopt it. Each algorithm is described in two stages, preprocessing and hash computation, and the algorithms differ in the size of their blocks, words and digests.4567

The standard is short: an announcement, a table of contents, definitions and notation, functions and constants, preprocessing, the algorithms themselves and a section on truncating a digest, followed by appendices and an erratum page.8910

Covers

  • Definitions, parameters, symbols and notation
  • Functions and constants for each algorithm
  • Padding and parsing a message, and setting the initial hash value
  • The algorithms SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224 and SHA-512/2563
  • Truncation of a message digest
  • Pointers to security discussion, examples and object identifiers
  • Technical changes from the previous edition, and an erratum

Does not cover

  • How to check a downloaded file with any particular program
  • Hash algorithms other than those it specifies
  • Digital signatures or encryption in themselves
  • A full analysis of security strength, which it leaves to other publications

Where to find what

  1. Who the standard applies to4p. 5
  2. Introduction and table of algorithm properties11p. 8
  3. Glossary of terms and acronyms12p. 9
  4. Bit strings and integers13p. 12
  5. Constants14p. 16
  6. Padding the message15p. 18
  7. SHA-25616p. 26
  8. SHA-256 hash computation17p. 27
  9. Truncation of a message digest9p. 32
  10. Security, implementation notes and object identifiers18p. 33
  11. Technical changes from the previous edition19p. 35
  12. Erratum10p. 36

Edition

The cover gives FIPS PUB 180-4, dated August 2015, and the announcement states that it supersedes FIPS 180-3. An erratum page records an editorial change incorporated into the text.202122

The original

This library links to the address fetched from the publisher and holds no copy of the document. The record below is the fingerprint of the document file as fetched from that address.

Open at nvlpubs.nist.gov

SHA-256

0455 b406 d896 48d2
0cbd e375 561e 19c2
45b9 815e 8941 64c2
6707 72e3 d54d eb82

Select the four lines to copy them. Spaces and line breaks are not part of the value. Check a file against this record.

Licence basis

Licence basis not read

On the Rebuild Tree

This document is a teaching source for The offline library.

Sources for this page

Each numbered statement above rests on the quoted words below. The quotes are held in the ledger and checked against a stored copy of the source.

  1. This standard specifies hash algorithms that can be used to generate digests of messages.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 3. At the source
  2. The digests are used to detect whether messages have been changed since the digests were generated.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 3. At the source
  3. This Standard specifies secure hash algorithms - SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224 and SHA-512/256Secure Hash Standard (SHS), National Institute of Standards and Technology, page 4. At the source
  4. This Standard is applicable to all Federal departments and agencies for the protection of sensitive unclassified informationSecure Hash Standard (SHS), National Institute of Standards and Technology, page 5. At the source
  5. This Standard may be adopted and used by non-Federal Government organizations.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 5. At the source
  6. Each algorithm can be described in two stages: preprocessing and hash computation.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 8. At the source
  7. the algorithms differ in terms of the size of the blocks and words of data that are used during hashing or message digest sizes.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 8. At the source
  8. SECURE HASH STANDARDSecure Hash Standard (SHS), National Institute of Standards and Technology, page 4. At the source
  9. TRUNCATION OF A MESSAGE DIGESTSecure Hash Standard (SHS), National Institute of Standards and Technology, page 32. At the source
  10. ERRATUMSecure Hash Standard (SHS), National Institute of Standards and Technology, page 36. At the source
  11. Figure 1: Secure Hash Algorithm PropertiesSecure Hash Standard (SHS), National Institute of Standards and Technology, page 8. At the source
  12. 2.1 Glossary of Terms and AcronymsSecure Hash Standard (SHS), National Institute of Standards and Technology, page 9. At the source
  13. 3.1 Bit Strings and IntegersSecure Hash Standard (SHS), National Institute of Standards and Technology, page 12. At the source
  14. 4.2 ConstantsSecure Hash Standard (SHS), National Institute of Standards and Technology, page 16. At the source
  15. 5.1 Padding the MessageSecure Hash Standard (SHS), National Institute of Standards and Technology, page 18. At the source
  16. 6.2 SHA-256Secure Hash Standard (SHS), National Institute of Standards and Technology, page 26. At the source
  17. 6.2.2 SHA-256 Hash ComputationSecure Hash Standard (SHS), National Institute of Standards and Technology, page 27. At the source
  18. A.1 Security of the Secure Hash AlgorithmsSecure Hash Standard (SHS), National Institute of Standards and Technology, page 33. At the source
  19. APPENDIX C: Technical Changes from FIPS 180-3Secure Hash Standard (SHS), National Institute of Standards and Technology, page 35. At the source
  20. FIPS PUB 180-4Secure Hash Standard (SHS), National Institute of Standards and Technology, page 1. At the source
  21. This Standard supersedes FIPS 180-3 [FIPS 180-3].Secure Hash Standard (SHS), National Institute of Standards and Technology, page 4. At the source
  22. The following change has been incorporated into FIPS 180-4, as of the date indicated in the table.Secure Hash Standard (SHS), National Institute of Standards and Technology, page 36. At the source