SHA3

Implementation of SHA3.

Standard: FIPS 202, SHA 3

@safe
struct SHA3 (
uint bitLength
) if (
bitLength == 224 ||
bitLength == 256
||
bitLength == 384
||
bitLength == 512
) {}

Members

Functions

finish
ubyte[] finish(ubyte[] output)

Calculate the final hash value.

finish
ubyte[digestLength] finish()

Calculate the final hash value.

put
void put(ubyte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

blockSize
enum blockSize;

Block size for HMAC as defined in FIPS 202, section 7, table 3.

digestLength
enum digestLength;
Undocumented in source.
name
enum name;
Undocumented in source.

Meta