Encryption Observer

Glossary The famous algorithms

SHA-2 and SHA-3

SHA-2 is a family of hash functions, of which SHA-256 is the best known. SHA-3 is a newer standard built in a completely different way, kept ready in case SHA-2 is ever weakened.

Think of it like this

Two fingerprint machines from different makers. Most people use the first; the second is there as a spare if the first design turns out to have a flaw.

Why it matters

Signatures, certificates, password storage, software downloads and Bitcoin all rest on these functions.

Where you meet it

The 'SHA-256' checksum next to software downloads, website certificates, and the Bitcoin network.

SHA-2standardised 2002, used everywhereSHA-3contest winner, standard 2015chops data into blocksand mixes them in turnsoaks data into a largestate, then squeezes outorBoth are still considered secure
SHA-2 and SHA-3 do the same job with completely different insides. If a weakness were ever found in one, the other would not share it.

More diagrams: Hash functions: retired and current

Go deeper history and technical detail

SHA-2 was proposed by NIST in 2001 and standardised in 2002 (FIPS 180-2) and designed by the NSA. SHA-3 is based on Keccak, which won an open NIST competition in 2012, and was standardised in 2015 (FIPS 202). Quantum computers affect hashes only modestly, so SHA-256 and SHA-3 remain in the post-quantum toolkit, and SLH-DSA signatures are built from them.

Related terms

Cite this page Encryption Observer, “SHA-2 and SHA-3”, encryption.observer/terms/sha-2-sha-3/, checked December 2026.