SHA-1 standardized in FIPS 180-1, replacing SHA-0
FIPS 180-1 superseded FIPS 180 and defined SHA-1, which differs from SHA-0 only by a one-bit left rotation in the message expansion. SHA-1 went on to become the default hash for X.509 certificates, PGP, TLS, SSH, code signing and Git for two decades.
Background
SHA-1 produces a 160-bit digest, so its design target was 80-bit collision resistance and 160-bit preimage resistance. NSA never published a rationale for the tweak beyond saying it fixed a weakness. FIPS 180-1 was itself superseded in 2002 by FIPS 180-2 (which added SHA-256/384/512), but SHA-1 remained an approved algorithm. Note that all later attacks discussed on this page are collision attacks: no practical preimage or second-preimage attack on full SHA-1 is known, which is why HMAC-SHA-1 and SHA-1 in KDFs were treated as far less urgent.
Sources
- standardFIPS 180-1 (withdrawn): Secure Hash StandardNIST CSRC, csrc.nist.gov
- paperEfficient Collision Search Attacks on SHA-0 (Wang, Yu, Yin, CRYPTO 2005) - introduction notes the single-rotation differenceIACR, iacr.org