Keccak.finish

Calculate the final hash value.

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

Parameters

outputLen

Hash size in bits.

Return Value

Type: ubyte[outputLen / 8]

the hash value

Meta