SHAKE256 Hash Generator
Generate SHAKE256 variable-length hashes online. SHAKE256 is an Extendable Output Function (XOF) from NIST FIPS 202, providing 256-bit security. Used in NIST post-quantum cryptography standards. Configure output length below.
Share Link
Related Hash Tools
Frequently Asked Questions
What is SHAKE256?
How is SHAKE256 used in post-quantum cryptography?
Can I use SHAKE256 for password hashing?
SHAKE256 vs SHA3-512 — which is better?
About SHAKE256 Hash Generator
SHAKE256 is the higher-security Extendable Output Function (XOF) from NIST FIPS 202 (August 2015). It uses the Keccak sponge with a 1088-bit rate and 512-bit capacity, providing 256-bit security. The squeezing phase can be continued indefinitely to produce as many output bits as needed, making SHAKE256 a versatile building block for modern cryptographic systems.
256-bit Security XOF
SHAKE256's 512-bit capacity provides collision resistance of 2^256 and preimage resistance of 2^256. This exceeds the security level of SHA-256 in terms of collision resistance (SHA-256 has 128-bit collision resistance). SHAKE256 is appropriate for applications requiring long-term security and quantum-resilient designs.
Post-Quantum Cryptography
SHAKE256 is embedded in the core of NIST's finalized post-quantum algorithms. ML-KEM (FIPS 203) uses SHAKE256 for key generation and encapsulation. ML-DSA (FIPS 204) uses SHAKE256 for hashing within the signing and verification algorithms. SLH-DSA (FIPS 205) uses SHAKE256 as its underlying hash function. These standards will secure communications well beyond the era of quantum computers.
cSHAKE256 and KMAC256
SHAKE256 is the basis for cSHAKE256 (customizable SHAKE, NIST SP 800-185) which adds domain separation via function name and customization strings. KMAC256 is a keyed MAC built on cSHAKE256. When cSHAKE256 is called with empty N and S, it degenerates to SHAKE256.