Report

Help us improve this tool

SHAKE-128 Hash Generator

Generate SHAKE-128 extendable-output hash digests with custom output length instantly in browser.

O M T

SHAKE-128 Hash Generator

The SHAKE-128 Hash Generator computes SHAKE-128 hash digests directly in your browser. SHAKE-128 is one of two extendable-output functions (XOFs) defined by the FIPS 202 (SHA-3) standard. Unlike fixed-length hashes such as SHA-256 or SHA3-256, an XOF can produce a digest of any requested bit length, which makes SHAKE-128 ideal for key derivation, deterministic random generation, and protocol-specific tag sizes. For higher security needs, try the SHAKE-256 Hash Generator.

SHAKE-128 targets a 128-bit security level for collision and preimage resistance, regardless of the chosen output length. The conversion runs entirely in JavaScript using a well-tested SHA-3 implementation, so your input never leaves your device.

How to Use the SHAKE-128 Tool

  1. Type or paste the text you want to hash. You can also upload a text file.
  2. Set the desired output length in bits. The default is 256 bits (64 hexadecimal characters).
  3. Choose lowercase or uppercase output formatting.
  4. Copy or download the resulting hexadecimal digest.

SHAKE-128 vs SHAKE-256

  • SHAKE-128 uses a 1344-bit rate and offers a 128-bit security level. It is faster on most platforms.
  • SHAKE-256 uses a 1088-bit rate and offers a 256-bit security level for higher-assurance use cases.
  • Both XOFs are members of the SHA-3 (Keccak) family and share the same sponge construction.

Common Use Cases

  • Deriving cryptographic keys of arbitrary length from a master secret.
  • Generating deterministic randomness for tests, simulations, and post-quantum schemes.
  • Computing protocol-specific message authentication tags.
  • Producing fingerprints of files or messages where SHA-256 is too short or too long.

For data integrity verification via checksums, the CRC-16 Hash Generator is also available.

Frequently Asked Questions

Does this tool send my data to a server?

No. The hash is computed locally in your browser using a JavaScript SHA-3 library, so your message content never leaves your device.

What output bit length should I choose?

Common choices are 128 (32 hex chars), 256 (64 hex chars), and 512 (128 hex chars) bits. Always choose a multiple of 8. For general-purpose digests, 256 bits is a good default.

Is SHAKE-128 considered secure?

Yes. SHAKE-128 is part of the SHA-3 standard published by NIST and provides a 128-bit security level against collision and preimage attacks for any output length.

Why does the same input always produce the same digest?

Cryptographic hash functions are deterministic. Identical input bytes and identical output length always yield the same digest, which is what makes SHAKE-128 useful for fingerprinting and key derivation.

How is SHAKE-128 different from a regular hash like SHA-256?

SHA-256 always outputs exactly 256 bits. SHAKE-128 is an extendable-output function, so you can request any number of output bits while keeping the same 128-bit security level.