Changes to Secure Hash Algorithms

TechWritereditor · 4 Dec 2026, 15:25 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Secure Hash Algorithms

Short description

Removed:  
Added: Family of cryptographic hash functions set by NIST

Type

Removed:  
Added: technology

Summary

Removed:  
Added: The Secure Hash Algorithms (SHA) are a family of cryptographic hash functions published as US federal standards by NIST. They turn a message of any length into a short, fixed-length digest used to check that data has not been altered.

Fact box

Removed:  
Added: Type: Cryptographic hash functions
Added: Introduced: 1993 (SHA)
Added: Developer: National Institute of Standards and Technology (NIST)
Added: Standards: FIPS 180-4 (SHA-1, SHA-2); FIPS 202 (SHA-3)
Added: Members: SHA-1, SHA-2, SHA-3

Article

Added: The **Secure Hash Algorithms** (**SHA**) are a family of cryptographic hash functions standardised by the US National Institute of Standards and Technology (NIST). A hash algorithm maps a message of any length to a fixed-length "message digest", a condensed representation of the message.[^1] The original message cannot be recovered from the hash, but because even a small change produces a very different hash, comparing hashes shows whether a message has been altered.[^2]
 
Added: ## Family
Added: The US government standardised the first algorithm, SHA, in 1993; a modified version, SHA-1, has been part of Federal Information Processing Standard (FIPS) 180-1 since 1995.[^2] The current Secure Hash Standard, FIPS 180-4, specifies seven algorithms: SHA-1 and the SHA-2 family of SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224 and SHA-512/256.[^1] NIST opened a public competition for a new algorithm on 2 November 2007 and named Keccak the winner on 2 October 2012.[^3] The resulting SHA-3 standard, FIPS 202, was approved on 5 August 2015.[^4] It defines four fixed-length functions (SHA3-224, SHA3-256, SHA3-384 and SHA3-512) and two extendable-output functions, SHAKE128 and SHAKE256.[^1]
Added:  
Added: ## Uses
Added: Hash functions are used with digital signatures and file-integrity checks.[^1][^5] CWI Amsterdam listed uses of SHA-1 including credit card transactions, electronic documents, [[Git]] repositories, software distribution, [[HTTPS]] and online banking.[^5]
Added:  
Added: ## Weakness of SHA-1
Added: NIST deprecated SHA-1 in 2011 and disallowed it for digital signatures from the end of 2013, citing published attacks.[^1] On 23 February 2017 researchers from [[Google]] and CWI Amsterdam announced the first practical SHA-1 collision: two different [[PDF]] files with the same SHA-1 hash. The work took about nine quintillion SHA-1 computations, roughly 6,500 CPU-years and 110 GPU-years, and was more than 100,000 times faster than a brute-force search.[^6] CWI researcher Marc Stevens said the result showed industry had moved away from SHA-1 too slowly.[^5] In December 2022 NIST announced that SHA-1 would be retired by 31 December 2030 and advised users to move to SHA-2 or SHA-3.[^2]
Added:  
Added: ## See also
Added: - [[Public-key cryptography]]
Added: - [[Transport Layer Security]]
Added: - [[Advanced Encryption Standard]]
Added: - [[Data Encryption Standard]]

Sources

Removed:  
Added: Hash Functions | https://csrc.nist.gov/projects/hash-functions | NIST Computer Security Resource Center
Added: NIST Retires SHA-1 Cryptographic Algorithm | https://www.nist.gov/news-events/news/2022/12/nist-retires-sha-1-cryptographic-algorithm | National Institute of Standards and Technology | 2022-12-15
Added: SHA-3 Project | https://csrc.nist.gov/projects/hash-functions/sha-3-project | NIST Computer Security Resource Center
Added: Announcing Approval of FIPS 202 and the Revised Applicability Clause of FIPS 180-4 | https://csrc.nist.gov/news/2015/announcing-approval-federal-information-processin | NIST Computer Security Resource Center | 2015-08-05
Added: CWI and Google announce first collision for industry security standard SHA-1 | https://www.cwi.nl/en/news/cwi-and-google-announce-first-collision-for-industry-security-standard-sha-1/ | CWI | 2017-02-27
Added: Announcing the first SHA1 collision | https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html | Google Security Blog | 2017-02-23

Categories

Removed:  
Added: Cryptography
Added: Online security

Other names

Removed:  
Added: SHA
Added: SHA-1
Added: SHA-2
Added: SHA-3