- Super easy install.
- Completely open source.
- Ability to use commercially under the terms of the MPLv2.
- Great collaborative documentation.
- Up-to-date with the awesome Libsodium library (version 1.0.16, 31st Oct 2018).
- Bundled and compiled native libraries so you don't have to.
- Reactive and fast release cadence.
- Bring your own Libsodium native libraries.
- Lazysodium for Android and Lazysodium for Java both benefit from the same codebase.
- They both have been designed with JNA Direct Mapping for extra speed.
- Architected in a composite oriented fashion to allow developers to narrow what operation they want to use at any time - less opportunity for bugs.
- Architected in such a way that you can use the raw JNA wrapped native C functions whenever you want.
- Built by a division of Terl called DrLib. We built Lazysodium for our cryptographic personal knowledgebase app called Recordo. This means Lazysodium is a long-term project.
A checkmark in the
Native column means that the particular operation has C native functions written for Java and Android. A checkmark in the
Lazy column means that the particular operation has been smartly implemented so that the developer has an effortless experience on Java and Android. A checkmark in the
Tests column means that testing has been performed on that operation for both Java and Android.
|Ed25519 to Curve25519 -
|Padding - several padding functions||✔||✔||✔|
|Random - several randomisation functions||✔||✔||✔|
|Stream Ciphers $$^1$$ -
- The Android variant does not have Salsa20 8 and 12 rounds and no XChaCha20.
- The Android variant does not have functions of the following form:
- The Android variant does not have auth functions for
armv7devices. Looking into a fix currently.
Please see this question in the FAQ for the reason as to why certain functions are not available on Android.