lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 28/10/2021 17:15, Luiz Henrique de Figueiredo wrote:
>> Are there any good collections of hash function in a C based Lua lib?
>>
>> Usual stuff like bcrypt, the SHA2 family, and maybe some more modern
>> functions too.
> 
> Try lua-hashings, which is in pure Lua:
>  https://luarocks.org/modules/user-none/lua-hashings
> 
> See also https://luarocks.org/search?q=crypto
> 
> There's also my ldigest at https://web.tecgraf.puc-rio.br/~lhf/ftp/lua/#ldigest
> 

Thanks. I might try that pure Lua lib and see how it performs (currently
not sure how I/O bound my app will be)

Was hoping to avoid a 'heavy' dependency like OpenSSL, but that seems to
be most the libs out there.

Scott