Keccak

Implementation of SHA-3 based on following KeccakNISTInterface.c from http://keccak.noekeon.org/

@safe
struct Keccak (
uint capacity
) if (
capacity % 8 == 0
) {
enum name;
enum digestLength;
enum blockSize;
}

Members

Functions

finish
ubyte[] finish(ubyte[] output)

Fills the output buffer with the hash value. Note: Hash will be as long as the output buffer.

finish
ubyte[outputLen / 8] finish()

Calculate the final hash value.

Meta