cl-sodium
cl-sodium copied to clipboard
A wrapper around libsodium, providing easy, correct, safe crypto for common lisp.
As of now there are no docstrings, resulting in (eg) ``` CRYPTO-SECRETBOX-EASY names a compiled function: Lambda-list: (SODIUM::C SODIUM::M SODIUM::MLEN SODIUM::N SODIUM::K) Derived type: (FUNCTION (T T T T T)...
The current git HEAD gives me ``` (cffi:defcfun ("crypto_secretbox_noncebytes" #.(lispify "crypto_secretbox_noncebytes" 'function)) :pointer) ``` but the header file says the result is a `size_t`. Re-generating doesn't work (Using `swig4.0`): ```...
I was sad to see that swig dropped support for cffi, effectively killing lisp support for swig generation. I guess, short of reinstating cffi output support in swig, fixing this...