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.
Requirements
- JDK 6 or higher
- Apache Maven
Installation
libsodium
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:
<dependency>
<groupId>org.abstractj.kalium</groupId>
<artifactId>kalium</artifactId>
<version>0.1.3-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
Notes
kalium is a work in progress, maintained by abstractj and contributors. Feedback, bug reports and patches are always welcome.