Kalium is a Java binding to Networking and Cryptography library by Daniel J. Bernstein. All the hard work of making a portable NaCl API version was done by Frank Denis on libsodium and kalium was totally inspired by Tony Arcieri's work with RbNaCl.




Kalium is implemented using jnr-ffi to bind the shared libraries from libsodium. For a more detailed explanation, please refer to RbNaCl's documentation.

OS X users can get libsodium via homebrew with:

brew install libsodium

Kalium installation

git clone https://github.com/abstractj/kalium && cd kalium
mvn clean install

Add as a Maven dependency at your project:



kalium is a work in progress, maintained by abstractj and contributors. Feedback, bug reports and patches are always welcome.