Type Function TurboShake128 [src]
TurboSHAKE128 is a XOF (a secure hash function with a variable output length), with a 128 bit security level.
It is based on the same permutation as SHA3 and SHAKE128, but which much higher performance.
The delimiter is 0x1f by default, but can be changed for context-separation.
For a protocol that uses both KangarooTwelve and TurboSHAKE128, it is recommended to avoid using 0x06, 0x07 or 0x0b for the delimiter.
Prototype
pub fn TurboShake128(delim: ?u7) type
Parameters
delim: ?u7
Source
pub fn TurboShake128(delim: ?u7) type {
return TurboShake(128, delim);
}