Hash function
SHA-1
Practical collisions since 2017 and chosen-prefix collisions since 2020; NIST transition target is 2030.
Deployment assessment
Do not select for new protection
Do not choose these hashes for new collision-sensitive protection.
- Intended use
- Legacy digests, especially collision-sensitive signatures.
- Conditions
- A collision break does not establish a preimage break or automatically break HMAC. Migrate according to the actual construction and verification policy.
Guidance reviewed 23 Nov 2026. Checked NIST's SHA-1 transition policy and the target of the November SHA-512 and Keccak collision results. How to read this assessment.
SHA-1 in real systems
Read dated observations, supported options and migration guidance.
GitHub's SHA-1 SSH retirement is still in progress →Cryptanalytic assessment
A mathematical break, demonstrated. Differential cryptanalysis cut the cost below the 2^80 generic bound in 2005; SHAttered produced two colliding PDFs in 2017; Shambles produced a chosen-prefix collision in 2020 for about $75,000 and impersonated PGP keys. These collision attacks do not establish HMAC-SHA-1 or preimage breaks. NIST recommends moving away from SHA-1.
- Best known attack
- Identical-prefix about 2^61; chosen-prefix about 2^63.4
- Quantum
- Not applicable. Already broken classically.
- Standard
- NIST targets an end to SHA-1 for applying cryptographic protection by 31 December 2030
- Names and historical labels
- SHA1, SHA 1
Standards and construction references
Evidence for the verdict
- Math(the math)'SHA-1 Broken': Wang, Yin and Yu find a 2^69 collision attackXiaoyun Wang, Yiqun Lisa Yin and Hongbo Yu showed that full 80-step SHA-1 collisions can be found with fewer than 2^69 hash operations instead of the generic 2^80. Bruce Schneier broke the news on February 15, 2005 under the headline 'SHA-1 Broken'; the paper appeared at CRYPTO 2005.
- Math(the math)SHAttered: first practical collision for full SHA-1CWI Amsterdam and Google published two different PDF files with the same SHA-1 hash (38762cf7f55934b34d179ae6a4c80cadccbb7f0a), the first public collision for the full hash function. The computation took about 2^63.1 SHA-1 compressions: roughly 6,500 CPU-years for the first block and about 110 GPU-years for the second, run on Google infrastructure.
- Math(the math)'SHA-1 is a Shambles': first chosen-prefix collision for SHA-1, PGP key impersonationLeurent and Peyrin computed the first chosen-prefix collision for SHA-1, using 900 rented Nvidia GTX 1060 GPUs for about two months at a cost of US$75.6k (they estimated US$45k at the then-current prices, and US$11k for a plain collision). They used it to build two PGP keys with different identities whose SHA-1 certifications collide, so a Web-of-Trust signature on the attacker's key also validates on a key bearing the victim's name.
- MilestoneNIST announces SHA-1 retirement for all applications by December 31, 2030NIST declared SHA-1 at end of life and said it will stop being used for applying cryptographic protection in all applications by December 31, 2030. NIST plans to publish FIPS 180-5 without SHA-1, revise SP 800-131A, and run a CMVP/CAVP transition so modules using SHA-1 cannot be purchased by the US government after 2030.
Case file
Every event on file that names SHA-1.
34 case files, newest first.
2020s
- MilestoneNIST finalizes its post-quantum transition plan: all listed classical public-key strengths must migrate
RSA-2048 / RSA-3072 / RSA-4096 / ECDSA / ECDH / Ed25519
- MilestoneGitHub retires SHA-1 SSH signatures and adds hybrid ML-KEM key exchange
SHA-1 / RSA-2048 / RSA-3072 / ML-KEM / X25519
- MilestoneNIST SP 800-131A Rev. 3 draft schedules SHA-1 and SHA-224 retirement after 2030
SHA-1 / SHA-224 / SHA-512/224 / SHA3-224
- MilestoneLimitedRHEL 9 restricts SHA-1 signatures system-wide; DNSSEC RSASHA1 validation breaks
SHA-1 / RSASHA1 / RSASHA1-NSEC3-SHA1
2010s
- MathTheoreticalLeurent and Peyrin: SHA-1 chosen-prefix collisions estimated at 2^66.9-2^69.4
SHA-1 / MD5
2000s
- MathTheoreticalWang, Yao and Yao claim a 2^63 SHA-1 collision attack (CRYPTO 2005 rump session)
SHA-1