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.outmust be exactly equal tooutLengthgiven in theblake2bmethod.Optionally you can pass
hexto get the hash as a hex string or no arguments to have the hash return a new Uint8Array with the hash.