SHA3.finish

Calculate the final hash value.

  1. ubyte[] finish(ubyte[] output)
    struct SHA3(uint bitLength)
    ubyte[]
    finish
    nothrow @nogc
    (
    ubyte[] output
    )
    in { assert (output.length == digestLength, "output.length != digestLength."); }
    if (
    bitLength == 224 ||
    bitLength == 256
    ||
    bitLength == 384
    ||
    bitLength == 512
    )
  2. ubyte[digestLength] finish()

Parameters

output
Type: ubyte[]

buffer for hash value.

Return Value

Type: ubyte[]

length of hash value in bytes.

Meta