All Projects → abstractj → Kalium

abstractj / Kalium

Licence: apache-2.0
Java binding to the Networking and Cryptography (NaCl) library with the awesomeness of libsodium

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Kalium

Sodiumoxide
Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium)
Stars: ✭ 596 (+193.6%)
Mutual labels:  cryptography, libsodium
Halite
High-level cryptography interface powered by libsodium
Stars: ✭ 933 (+359.61%)
Mutual labels:  cryptography, libsodium
Libsodium.js
libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.
Stars: ✭ 665 (+227.59%)
Mutual labels:  cryptography, libsodium
Sapient
Secure API Toolkit
Stars: ✭ 308 (+51.72%)
Mutual labels:  cryptography, libsodium
Libsodium Go
A complete overhaul of the Golang wrapper for libsodium
Stars: ✭ 105 (-48.28%)
Mutual labels:  cryptography, libsodium
Swift Sodium
Safe and easy to use crypto for iOS and macOS
Stars: ✭ 400 (+97.04%)
Mutual labels:  cryptography, libsodium
Pynacl
Python binding to the Networking and Cryptography (NaCl) library
Stars: ✭ 761 (+274.88%)
Mutual labels:  cryptography, libsodium
Sodium compat
Pure PHP polyfill for ext/sodium
Stars: ✭ 736 (+262.56%)
Mutual labels:  cryptography, libsodium
Lazysodium Android
An Android implementation of the Libsodium cryptography library. For the lazy dev.
Stars: ✭ 69 (-66.01%)
Mutual labels:  cryptography, libsodium
Nim Libsodium
Nim wrapper for the libsodium library
Stars: ✭ 32 (-84.24%)
Mutual labels:  cryptography, libsodium
Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (+6.9%)
Mutual labels:  cryptography, libsodium
Libsodium Jni
(Android) Networking and Cryptography Library (NaCL) JNI binding. JNI is utilized for fastest access to native code. Accessible either in Android or Java application. Uses SWIG to generate Java JNI bindings. SWIG definitions are extensible to other languages.
Stars: ✭ 157 (-22.66%)
Mutual labels:  cryptography, libsodium
Pgsodium
Modern cryptography for PostgreSQL using libsodium.
Stars: ✭ 202 (-0.49%)
Mutual labels:  cryptography, libsodium
Libsodium Php
The PHP extension for libsodium.
Stars: ✭ 507 (+149.75%)
Mutual labels:  cryptography, libsodium
Rbnacl
Ruby FFI binding to the Networking and Cryptography (NaCl) library (a.k.a. libsodium)
Stars: ✭ 910 (+348.28%)
Mutual labels:  cryptography, libsodium
Streamcryptor
Stream encryption & decryption with libsodium and protobuf
Stars: ✭ 112 (-44.83%)
Mutual labels:  cryptography, libsodium
Enacl
Erlang bindings for NaCl / libsodium
Stars: ✭ 159 (-21.67%)
Mutual labels:  cryptography, libsodium
Pagecrypt
Client-side password-protection for HTML
Stars: ✭ 186 (-8.37%)
Mutual labels:  cryptography
Go Ykpiv
Golang interface to manage Yubikeys, including a crypto.Signer & crypto.Decrypter interface
Stars: ✭ 196 (-3.45%)
Mutual labels:  cryptography
Gun
An open source cybersecurity protocol for syncing decentralized graph data.
Stars: ✭ 15,172 (+7373.89%)
Mutual labels:  cryptography

License Maven Central Build Status Build status Say Thanks

kalium - Java binding to the Networking and Cryptography (NaCl) library

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

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.

OSX

OS X users can get libsodium via homebrew with:

brew install libsodium

Windows

Windows users will need to provide the pre-build binaries from libsodium.

  • Download libsodium from https://download.libsodium.org/libsodium/releases/
  • Choose the version of libsodium you wish to use
    • The archives follow the following pattern: libsodium-{version}-msvc.zip
  • From the archive find the artifacts compiled for your architecture and then the MSVC tool set of your choice
    • For example: v141 // these were compiled against the MSVC v141 (i.e. Visual Studio 2017)
  • Extract from the archive the dll library files into one of the following locations:
    • into the lib at the root of the working directory directory of your project.
    • into a location that is included in your PATH environment variable.

For example, on Windows 10 machine with a x64 architecture:

{archive root}
└───x64
    ...
    └───Release
        ...
        └───v141
            ...
            └───dynamic <- copy the library files from this locaiton.

kalium installation

Add as a Maven dependency to your project.

FAQ

Is Android supported?

No.

Would be nice to have some documentation. Do you have some?

Look at the libsodium docs, they are self explanatory. Or, contribute with docs.

I'm experiencing some issues on Windows. Do you have any idea?

I'm sorry but I'm completely clueless about Windows environment, but if you have any suggestions or PR changes. They will be more than welcome.

Notes

Kalium is the effort of a really small group of people, feedback, bug reports and patches are always welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].