Shake
The SHAKE extendable output hash function.
Fields of this type
Fields
- st:State
- buf:[State.rate]u8
- = undefined
- offset:usize
- = 0
- padded:bool
- = false
The delimiter can be overwritten in the options.
Types
- Options
- The delimiter can be overwritten in the options.
Initialize a SHAKE extensible hash function.
Functions
Error sets in this namespace
Error Sets
The recommended output length, in bytes.
Values
- digest_length
- The recommended output length, in bytes.
- block_length
- The block length, or rate, in bytes.
Source
Implementation
pub fn Shake(comptime security_level: u11) type {
return ShakeLike(security_level, 0x1f, 24);
}