chickadee » blake2 » blake2s-primitive

blake2b-primitive #!key length keyprocedure
blake2s-primitive #!key length keyprocedure

Returns the BLAKE2 checksum digest primitive object.

length defaults to the maximum size of the digest and must be an exact quantity and greater than one. key defaults to #f, if you want to use the hash in the keyed mode you only have to supply a blob or a string whose size is greater than one and less than the hard limit for the given hash function (that is 64 bytes for BLAKE2B and 32 bytes for BLAKE2s)