$ luarocks install luasodium
Bindings to Libsodium, with support for the Lua C API as well as LuaJIT's FFI API.
There's basically three methods for loading the API, they're tried in this order:
* FFI API from a C module, with function pointers.
* Traditional C API
* FFI API, using ffi.load to load libsodium at runtime.
More details are available on the project homepage: https://github.com/jprjr/luasodium
Also be sure to check out the wiki: https://github.com/jprjr/luasodium/wiki
Versions
Dependencies
lua >= 5.1