Skip to content

Latest commit

 

History

History

blake2s

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.