SHAKE extendable-output hash
Locally compute SHAKE128/SHAKE256 extendable-output digests per FIPS 202: choose the output length (1–512 bytes), the input encoding (UTF-8 / hex) and the output format (hex / Base64). SHAKE belongs to the same family as SHA-3 but lets you decide how many bytes come out.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Digest
The output length follows the “Output bytes” option; everything runs locally.
Enter content to see the digest
Output characters: 0 · Input bytes: 0 · Output bytes: 0
What this tool does
- Produce a digest of any length: 16 bytes as a short tag, 64 bytes as a long hash.
- Check published SHAKE128 / SHAKE256 test vectors.
- Prepare digest material for protocols that need extendable output.
Example
Input
abc
Output
5881092dd818bf5cf8a3ddb793fbcba74097d5c526a6d35f97b83351940f2cc8
SHAKE uses the FIPS 202 domain-separation byte 0x1f. Verified against node:crypto: SHAKE128("abc", 32 bytes) = 5881092dd818bf5cf8a3ddb793fbcba74097d5c526a6d35f97b83351940f2cc8 and SHAKE256("abc", 64 bytes) = 483366601360a8771c6863080cc4114d8db44530f8f1e1ee4f94ea37e78b5739d5a15bef….
Frequently asked questions
How is SHAKE different from SHA-3?
Both build on Keccak-f[1600], but SHAKE is an extendable-output function whose length you choose, while SHA3-256 is fixed-length; the padding byte differs too (0x1f for SHAKE, 0x06 for SHA-3).
Can the output length be anything?
Anything from 1 to 512 bytes. Use 32 bytes to line up with SHA3-256; beyond 512 bytes the tool reports an error so it cannot be misused as an unbounded stream.
How can I verify the result?
Use published vectors: SHAKE128("abc", 32) = 5881092dd818bf5cf8a3ddb793fbcba74097d5c526a6d35f97b83351940f2cc8 and SHAKE256("abc", 64) = 483366601360a8771c6863080cc4114d8db44530f8f1e1ee4f94ea37e78b5739d5a15bef….
Is my input uploaded?
No. The algorithm runs as a pure function inside this page and never touches the network.
Keywords:SHAKESHAKE128SHAKE256SHAKE hashFIPS 202