Returns the finished hash. This also clears part of the state, leaving just the final digest.
Feed the algorithm with data Also implements the std.range.primitives.isOutputRange interface for ubyte and const(ubyte)[].
Initiates the structure. Begins the SHA-3/SHAKE operation. This is better used when restarting the operation (e.g., for a file).
Sponge rate in bits
Digest size in bits
Set to true for SHAKE; Otherwise false for SHA-3
Template API SHA-3/SHAKE implementation using the Keccak[1600] function.
Supports SHA-3-224, SHA-3-256, SHA-3-384, SHA-3-512, SHAKE-128, and SHAKE-256. It is recommended to use the SHA3_224, SHA3_256, SHA3_384, SHA3_512, SHAKE128, and SHAKE256 aliases.