SHAKE256 Hash Generator (Extendable Output)

Generate SHAKE256 output of any length (8–16384 bits) from text, hex or Base64 in your browser. FIPS 202 extendable-output function, hex or Base64.

A multiple of 8, from 8 to 16384 bits.

SHAKE256

Runs entirely in your browser. Your data is never uploaded.

What is SHAKE256 Hash Generator?

SHAKE256 is the SHA-3 extendable-output function with 256-bit security: instead of a fixed digest size you choose how many output bits you want. This tool computes SHAKE256 of text or raw bytes with a configurable output length (default 512 bits).

How to use SHAKE256 Hash Generator

  1. Type or paste your input into Text to hash — the digest updates as you type (an empty box shows the hash of empty input).
  2. Choose the Input encoding: Text (UTF-8) hashes the characters as UTF-8, Hex bytes or Base64 hash the decoded raw bytes.
  3. Set Output length (bits) — a multiple of 8 between 8 and 16384 (default 512).
  4. Pick the Output format (hex lowercase, hex uppercase or Base64) and click Copy.

Example

Input
abc
Output
483366601360a8771c6863080cc4114d8db44530f8f1e1ee4f94ea37e78b5739d5a15bef186a5386c75744c0527e1faa9f8726e462a12a4feb06bd8801e751e4

SHAKE256("abc") with the default output length of 512 bits.

When to use SHAKE256 Hash Generator

Use SHAKE256 when a protocol specifies it (e.g. Ed448 uses SHAKE256, ML-KEM/Kyber and ML-DSA/Dilithium use SHAKE128/256), to derive a stream of pseudo-random bytes from a seed, or to get a hash of non-standard length. If you just need a regular hash, SHA3-256 or SHA-256 is simpler and more widely supported. For keyed use, prefer KMAC over hashing key and message together.

How SHAKE256 Hash Generator works

SHAKE256 is an extendable-output function (XOF) from FIPS 202. It uses the same Keccak-f[1600] sponge as SHA-3 with a capacity of 512 bits (rate 1088 bits) and the domain suffix 1111 (padding byte 0x1F). After absorbing the input, the sponge is squeezed for as many bits as requested, so the output length is a parameter rather than a property of the algorithm. Shorter outputs are prefixes of longer ones. Security is min(output/2, 256) bits for collisions.

Common Use Cases

  • Reproduce SHAKE outputs from post-quantum algorithm specifications
  • Derive a custom-length fingerprint (e.g. 128 or 1024 bits)
  • Generate test vectors for a SHA-3 / XOF implementation
  • Expand a seed into many pseudo-random bytes for testing

Security Note

SHAKE256 is a NIST-approved function with no known practical attacks. It is not a password hash and not a MAC by itself — use KMAC256 for keyed authentication. Everything runs locally in your browser.

FAQs

Is SHAKE256-512 the same as SHA3-512?

No. They share the Keccak permutation but use different capacities and domain suffixes, so outputs are unrelated.

If I ask for more bits, does the beginning change?

No. A longer SHAKE256 output is the shorter output followed by more bytes. For example the first 128 bits of SHAKE256("abc") are the 128-bit result.

Does a longer output make it more secure?

Only up to the 256-bit security level. Beyond 512 bits of output, collision resistance stays at 256 bits.

Explore more categories