Keccak.finish

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

  1. ubyte[] finish(ubyte[] output)
    struct Keccak(uint capacity)
    ubyte[]
    finish
    nothrow @nogc
    (
    ubyte[] output
    )
    if (
    capacity % 8 == 0
    )
  2. ubyte[outputLen / 8] finish()

Parameters

output
Type: ubyte[]

buffer for hash value.

Return Value

Type: ubyte[]

Slice of output containing the hash.

Meta