shake128
shake128(
data,outputBytes):Uint8Array
Defined in: packages/crypto-hash/src/keccak/shake128.ts:15
SHAKE128 (FIPS 202) — an extendable-output function (XOF): outputBytes
chooses the output length freely, rather than it being fixed by the algorithm
the way SHA3-*’s is.
No Web Crypto kernel: no engine implements SHAKE at all (confirmed empirically — Node’s experimental SHA-3 support stops at the fixed-output members).
Parameters
Section titled “Parameters”Uint8Array
outputBytes
Section titled “outputBytes”number
Returns
Section titled “Returns”Uint8Array
Throws
Section titled “Throws”When outputBytes is not a non-negative integer.