SHA-3 and SHAKE
The Keccak-based hash functions SHA3-224 to SHA3-512 and the SHAKE128 and SHAKE256 extendable-output functions, specified in FIPS 202. ML-KEM and ML-DSA use them internally, SLH-DSA can use them, and they serve as an alternative to SHA-2. Grover's search would roughly halve its effective security, so 256-bit outputs stay adequate.
In short
What a quantum computer changes.
- Quantum effect
- Weakened by Grover's search
- Family
- HashRests on hash function security.
- What it means
- Grover's algorithm searches an unstructured space in roughly the square root of the usual number of steps. Against a symmetric key or a hash preimage, that roughly halves the effective security in bits: a 128-bit key gives about 64 bits of security against it. In practice the answer is size, not replacement. Keys and outputs of 256 bits stay adequate. Grover's search also needs a long, sequential run on a fault-tolerant machine and does not split well across many machines, so the effect is a smaller margin, not a break.
This describes the family, not any project that uses it.
19 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| @noble/hashesnpm | Pure TypeScript hash, MAC and KDF library: SHA-1, SHA-2, SHA-3 and Keccak, BLAKE2 and BLAKE3, RIPEMD-160, HMAC, HKDF, PBKDF2, scrypt and Argon2. |
| hash-wasmnpm | Hash and password-hashing functions compiled to WebAssembly, including SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, RIPEMD-160, HMAC, PBKDF2, scrypt, bcrypt and Argon2. |
| js-sha3npm | Pure JavaScript SHA-3, Keccak, SHAKE, cSHAKE and KMAC hash functions. |
| keccaknpm | Native bindings to the Keccak Code Package with a pure JavaScript fallback, providing Keccak-224 to Keccak-512, SHA3-224 to SHA3-512 and SHAKE through a Node-style hash interface. |
| libsodium-wrappersnpm | libsodium compiled to WebAssembly and JavaScript with generated wrappers: X25519, Ed25519, XSalsa20-Poly1305 and ChaCha20-Poly1305 encryption, BLAKE2b, SHA-2, SHA-3, HMAC, Argon2 password hashing, ML-KEM-768 and the X-Wing hybrid KEM. |
| libsodium-wrappers-sumonpm | The sumo build of libsodium.js: everything in libsodium-wrappers plus scrypt password hashing and lower-level functions. |
| @peculiar/webcryptonpm | WebCrypto API implementation for Node.js on top of the built-in crypto module, adding curves such as secp256k1, brainpool, Ed448 and X448 and non-standard mechanisms such as DES and RSAES-PKCS1-v1_5. |
| aws-lc-rscrates.io | ring-compatible Rust API over the AWS-LC C library, adding ML-KEM, ML-DSA, RSA encryption, raw AES modes and an optional FIPS build. |
| aws-lc-syscrates.io | Low-level generated FFI bindings to the AWS-LC C cryptography library, which aws-lc-rs wraps. |
| opensslcrates.io | Rust bindings to OpenSSL covering TLS, X.509, RSA, DSA, Diffie-Hellman, elliptic curve and Edwards curve keys, symmetric ciphers, hashes, MACs and key derivation. |
| openssl-syscrates.io | Raw FFI declarations for the OpenSSL C library, used by the openssl crate. |
| botancrates.io | Rust wrapper for the Botan C++ library, exposing ciphers, hashes, MACs, KDFs, password hashing, random generators, X.509 and classical and post-quantum public key algorithms. |
| libcruxcrates.io | Re-export crate for the libcrux library of formally verified implementations, including ML-KEM, ML-DSA, X25519, P-256 ECDSA and ECDH, Ed25519, RSA-PSS, AES-GCM, ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2, HMAC, HKDF and HPKE. |
| orioncrates.io | Pure Rust library offering ML-KEM, ML-DSA, X-Wing, HPKE, X25519, (X)ChaCha20-Poly1305, BLAKE2b, BLAKE3, SHA-2, SHA-3, HMAC, HKDF, PBKDF2, Argon2 and scrypt. |
| dryoccrates.io | Pure Rust libsodium-compatible library with crypto_box, secretbox, Ed25519 signatures, BLAKE2b, SHA-2, SHA-3, HMAC, HKDF, Argon2 password hashing, ML-KEM-768, X-Wing and HPKE sealed boxes. |
| sha3crates.io | Pure Rust SHA3-224, SHA3-256, SHA3-384 and SHA3-512, plus the original Keccak variants including Keccak-256. |
| tiny-keccakcrates.io | Implementation of Keccak-derived functions: SHA-3, original Keccak, SHAKE, cSHAKE, KMAC, TupleHash, ParallelHash and KangarooTwelve. |
| sequoia-openpgpcrates.io | OpenPGP (RFC 9580 and RFC 4880) implementation with RSA, DSA, ECDSA, ECDH, EdDSA, X25519 and X448 keys, post-quantum ML-KEM, ML-DSA and SLH-DSA algorithms, AES and SHA-1, SHA-2 and SHA-3 hashes. |
| bitcoin_hashescrates.io | The hash functions used by rust-bitcoin: SHA-1, SHA-256 (plain, double and tagged), SHA-384, SHA-512, SHA3-256, RIPEMD-160 and HASH160, plus HMAC, HKDF and SipHash. |
1 listed
Sources
- FIPS 202: SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functionscsrc.nist.govRetrieved 3 December 2026
Full record
- Identifier
- sha-3
- Kind
- hash
- Family
- Hash
- Rests on
- hash function security
- Quantum effect
- Weakened by Grover's search
Standards
- FIPS 202SHA-3 Standard: Permutation-Based Hash and Extendable-Output FunctionsNIST, final, published 4 August 2015Checked 3 December 2026