libsodium bindings for Common Lisp
This is a wrapper of the the libsodium library as well as a very thin layer of abstraction to make things a bit more lispy than running raw C functions.
The goal of this project is to provide easy, correct, safe crypto for common lisp. It relies entirely on libsodium for all cryptographic tasks.
Who needs documentation when you follow simple function-naming conventions?
- The package prefix is
- Underscores become dashes
See the examples/ folder and also the NaCL documentation (libsodium is a fork of NaCL).
If a new version of libsodium comes out, you can regenerate these bindings by doing the following (if you have swig installed):
cd /path/to/cl-sodium vim scripts/bindings.i # update "%include" paths to point at your libsodium headers ./scripts/generate # must be run in cl-sodium folder
This will generate new bindings in their entirety (it's fully automated).