Finalise the the hash and write the digest to out. out must be exactly equal to outLength given in the blake2b method.
out
outLength
blake2b
Optionally you can pass hex to get the hash as a hex string or no arguments to have the hash return a new Uint8Array with the hash.
hex
Optional
Update the hash with new input. Calling this method after .digest will throw an error.
input
.digest
Generated using TypeDoc
Finalise the the hash and write the digest to
out
.out
must be exactly equal tooutLength
given in theblake2b
method.Optionally you can pass
hex
to get the hash as a hex string or no arguments to have the hash return a new Uint8Array with the hash.