@dekkonot/blake2b
v1.0.0
Published
Implementation of the BLAKE2b hashing algorithm
Downloads
2
Readme
BLAKE2b Luau
A pure Luau implementation of the BLAKE2b hashing algorithm. Blazing fast (for Luau) and well-tested.
API
This module returns a single function with the following type signature:
blake2b(message: string, hashLen: number, key: string?): string
The message
passed to this function will be hashed using BLAKE2b. The returned hash will be hashLen
bytes in length.
If provided, key
will be used as a pepper for the algorithm.