SHA-3

The newest family of standard hash functions from NIST, built on a different design called Keccak as a backup in case SHA-2 is ever weakened.

In more detail

NIST published SHA-3 in 2015 as FIPS 202, with the same output sizes as SHA-2, such as SHA3-256. Its sponge design is not open to length extension attacks, although SHA-256 remains secure and far more widely used. The standard also defines extendable-output functions that can produce a digest of any length.

Examples

hashlib.new("sha3_256", a).digest()
123 of 256 bits differ

Related terms

Taught in

References