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