Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.26 KB

README.md

File metadata and controls

63 lines (38 loc) · 2.26 KB

Build Status

libsodium-jni - (Android) Java JNI binding to the Networking and Cryptography (NaCl) library

A Java JNI binding (to allow for Java and Android integration) to Networking and Cryptography library by Daniel J. Bernstein.

Credits to:

Installation

  • Java package is under org.libsodium.jni

Android Archive (AAR)

<dependency>
    <groupId>com.github.joshjdevl.libsodiumjni</groupId>
    <artifactId>libsodium-jni-aar</artifactId>
    <version>1.0.2-SNAPSHOT</version>
    <type>aar</type>
</dependency>

Java Archive (JAR)

<dependency>
    <groupId>com.github.joshjdevl.libsodiumjni</groupId>
    <artifactId>libsodium-jni</artifactId>
    <version>1.0.2-SNAPSHOT</version>
    <type>jar</type>
</dependency>

MacOS Installation

Install brew

Run ./build-mac.sh

Linux Installation

Run ./build-linux.sh

###Docker Container

The docker container is available from libsodium-jni which is a Automated Build.

Manual compilation and installation

Please refer to the docker build for the commands used to build.

Notes

Docker container

Issues / Improvements / Help Seeked

libsodium-jni is a work in progress, feedback, bug reports and patches are always welcome.

Everything has been tested and working on ubuntu 12.04 32bit and 64 bit, macos, and Android