SHAGenerator
Security & Algorithms

Is SHA-1 Secure?

Why NIST and web browsers formally banned SHA-1, how chosen-prefix attacks work, and the official deprecation timeline.

Category: Security & AlgorithmsReading Time: 5 min readPublished: 2026-08-20
NIST SP 800-131A

1. Theoretical and Practical Collision Milestones

• 2005: Cryptanalysts demonstrated theoretical collision attacks requiring 2^63 operations (far below the theoretical 2^80 design threshold). • 2017: The SHAttered attack achieved the first real-world practical SHA-1 collision, creating two distinct PDF documents with identical SHA-1 hashes. • 2020: Chosen-prefix collisions for SHA-1 became practical for under $45,000 in cloud compute costs.

2. Regulatory Ban

NIST officially mandates that SHA-1 must be fully deprecated across all government and security contexts by December 31, 2030.

Frequently Asked Questions.

Frequently Asked Questions

Clear answers to common cryptographic and implementation questions.

Is SHA-1 safe for non-security checksums?
For non-adversarial file transfer verification, SHA-1 will detect random errors, but SHA-256 is recommended for all new systems.

Recommended Tools for this Topic

View all tools →