https://github.com/terl/lazysodium-android
An Android implementation of the Libsodium cryptography library. For the lazy dev.
https://github.com/terl/lazysodium-android
android argon2 cryptography decryption encryption hashing libsodium xsalsa20
Last synced: 10 months ago
JSON representation
An Android implementation of the Libsodium cryptography library. For the lazy dev.
- Host: GitHub
- URL: https://github.com/terl/lazysodium-android
- Owner: terl
- License: mpl-2.0
- Created: 2018-05-09T17:19:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T20:30:40.000Z (over 3 years ago)
- Last Synced: 2023-07-26T22:10:58.356Z (over 2 years ago)
- Topics: android, argon2, cryptography, decryption, encryption, hashing, libsodium, xsalsa20
- Language: Java
- Homepage: https://github.com/terl/lazysodium-java/wiki
- Size: 3.83 MB
- Stars: 98
- Watchers: 12
- Forks: 22
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Lazysodium Android
Lazysodium is a **complete** Android implementation of the [Libsodium](https://github.com/jedisct1/libsodium) library that provides developers with a **smooth and effortless** cryptography experience.
[](https://github.com/terl/lazysodium-android/actions/workflows/primary.yml)

## Why Lazysodium
We created Lazysodium because we really wanted a solid Libsodium compatible Java/Android library that would just work without fuss. We were exasperated and annoyed with current Libsodium implementations as some of them were just poorly maintained and poorly architected.
You can find more info [here](https://github.com/terl/lazysodium-java/wiki/about).
## Features
**This library is fully compatible with Kotlin powered Android projects.**
You can find an up-to-date feature list [here](https://github.com/terl/lazysodium-java/wiki/features).
## Quick start
This is by no means a comprehensive introduction to Lazysodium. Please view the [official documentation](https://github.com/terl/lazysodium-java/wiki) for a more comprehensive guide.
Whatever build tool you're using the general gist is to add the `mavenCentral()` repository and then add the Lazysodium dependency.
More detailed instructions [here](https://github.com/terl/lazysodium-java/wiki/installation).
The following example is for users of the build tool Gradle:
```groovy
// Top level build file
repositories {
// Add this to the end of any existing repositories
mavenCentral()
}
// Project level dependencies section
dependencies {
implementation "com.goterl:lazysodium-android:VERSION_NUMBER@aar"
implementation "net.java.dev.jna:jna:5.8.0@aar"
}
```
Substitute `VERSION_NUMBER` for the version in this box:

## Documentation
See our [official documentation](https://github.com/terl/lazysodium-java/wiki) to get started.
## Apps
You can preview some of the features in our free Lazysodium app available on Google Play:
## Lazysodium for Java
We also have a Java implementation available at [Lazysodium for Java](https://github.com/terl/lazysodium-java). It has the same API as this library so you can share code easily!
---
Created by [Terl](https://terl.co).

