TurboSHAKE
SHAKE with the Keccak permutation reduced to 12 rounds, standardised in RFC 9861
Overview
TurboSHAKE128 and TurboSHAKE256 are extendable-output functions that use the Keccak sponge with 12 rounds instead of 24. They are roughly twice as fast as SHAKE and serve as the building block of KangarooTwelve.
TurboSHAKE uses Keccak-p[1600, 12], the last 12 rounds of Keccak-f[1600], in a sponge with capacity 256 (TurboSHAKE128) or 512 (TurboSHAKE256). A domain-separation byte chosen by the caller is appended to the input, so different protocols or uses can derive independent functions without a separate customisation string. It is also an XOF.
TurboSHAKE was formally specified in 2023 and standardised in RFC 9861 alongside KangarooTwelve. NextSSL includes both variants as entries wired from source that have not yet been verified against the RFC test vectors. The separation byte must be in the range 0x01 to 0x7F. Different separation bytes give independent functions, which is how KangarooTwelve distinguishes its node types.
History
2023–2025TurboSHAKE published as a 12-round Keccak XOF
Specified in RFC 9861
Security notes
TurboSHAKE's reduced round count still leaves a comfortable margin over the best known attacks on Keccak. NextSSL's implementation is unverified, so outputs should be checked against RFC 9861 before relying on them.
Typical uses
Variants in NextSSL
2| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Turboshake128 turboshake128 |
unverified | — | RFC 9861 | root |
| Turboshake256 turboshake256 |
unverified | — | RFC 9861 | root |
Frequently asked questions
Which TurboSHAKE variants does NextSSL include?
NextSSL registers 2 TurboSHAKE variants: turboshake128, turboshake256.
Families with similar names
Other extendable-output functions
All 8Related
The Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
KangarooTwelveA fast tree-hashing XOF over 12-round Keccak, standardised in RFC 9861
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak