What is SHAKE256?
SHAKE256 is a cryptographic hash function from the SHA-3 family standardized by NIST (FIPS 202), offering 256 bits of security strength. Unlike traditional hash functions with fixed output sizes, SHAKE256 is an extendable-output function (XOF) that generates variable-length digests on demand, making it suitable for any application requiring flexible cryptographic hashing. This free, browser-based tool lets you compute SHAKE256 hashes instantly without uploading data or creating an account—your input never leaves your device.
How SHAKE256 works
SHAKE256 uses the Keccak sponge construction, a modern cryptographic architecture that absorbs input data and squeezes out hash output. Here's how it works:
- Absorption Phase: The input message is split into blocks and XORed (combined bit-by-bit) into an internal state. A permutation function is applied after each block, mixing the data thoroughly.
- Padding: The message is padded according to FIPS 202 specifications to maintain security properties.
- Squeezing Phase: Once all input is absorbed, the function produces output bits on demand. You can request any number of bytes—32 bytes (256 bits), 64 bytes (512 bits), or more—without re-processing the input.
Worked Example Structure: If you hash the text "Hello" with SHAKE256 requesting 32 bytes of output, the function absorbs "Hello", applies padding, then squeezes 32 bytes from the sponge state. The same input always produces the same output, but changing even one character produces a completely different hash—this is the avalanche effect that makes hashing secure.
How to use
- Type or paste your text into the input box.
- The SHAKE256 hash is calculated automatically as you type.
- Choose your output encoding (Hex or Base64) if needed.
- Click Copy to copy the digest to your clipboard.
Common uses
- Creating digital signatures and verifying data authenticity without storing original content
- Key derivation for generating cryptographic keys of custom lengths from a master secret or password
- Ensuring file integrity by comparing hashes before and after transmission or storage
- Building message authentication codes (MACs) to detect tampering in secure communications
- Generating unique identifiers and cryptographic salts for password hashing and security protocols