keccakD

Used for create keccak functions

pure nothrow @safe @nogc
keccakD
(
ulong SIZE
)
(
const ubyte[] data
)

Parameters

data ubyte[]

The value used for hash

Return Value

Type: auto

static array with result of hashing

Examples

ubyte[5] source = [0xff, 0xa1, 0x12, 0x22, 0xff];
ubyte[256 / 8] result;
result = keccakD!256(source[]);

Meta