Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terl/lazysodium-java
A Java implementation of the Libsodium crypto library. For the lazy dev.
https://github.com/terl/lazysodium-java
argon2 cryptography decryption encryption hmac java-8 lazy library libsodium xsalsa20
Last synced: 6 days ago
JSON representation
A Java implementation of the Libsodium crypto library. For the lazy dev.
- Host: GitHub
- URL: https://github.com/terl/lazysodium-java
- Owner: terl
- License: mpl-2.0
- Created: 2018-05-01T21:26:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T01:08:11.000Z (4 months ago)
- Last Synced: 2024-12-08T21:10:00.765Z (13 days ago)
- Topics: argon2, cryptography, decryption, encryption, hmac, java-8, lazy, library, libsodium, xsalsa20
- Language: Java
- Homepage: https://github.com/terl/lazysodium-java/wiki
- Size: 15.7 MB
- Stars: 136
- Watchers: 10
- Forks: 49
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Lazysodium for Java
Lazysodium is a **complete** Java (JNA) wrapper over the [Libsodium](https://github.com/jedisct1/libsodium) library that provides developers with a **smooth and effortless** cryptography experience.
[![Checks](https://github.com/terl/lazysodium-java/actions/workflows/primary.yml/badge.svg)](https://github.com/terl/lazysodium-java/actions/workflows/primary.yml)
![Maven Central](https://img.shields.io/maven-central/v/com.goterl/lazysodium-java?color=%23fff&label=Maven%20Central)## Features
**This library is fully compatible with Kotlin.**
You can find an up-to-date feature list [here](https://github.com/terl/lazysodium-java/wiki/features).
## Quick start
Please view the [official documentation](https://github.com/terl/lazysodium-java/wiki/installation) for a more comprehensive guide.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-java:VERSION_NUMBER"
implementation "net.java.dev.jna:jna:JNA_NUMBER"
}
```Substitute `VERSION_NUMBER` for the version in this box:
![Maven Central](https://img.shields.io/maven-central/v/com.goterl/lazysodium-java?color=%23fff&label=Maven%20Central)
Substitute `JNA_NUMBER` for the [latest version of JNA](https://github.com/java-native-access/jna/releases).
## Documentation
Please view our [official documentation](https://github.com/terl/lazysodium-java/wiki) to get started.
## Examples
There are some example projects available [here](https://github.com/terl/lazysodium-java/tree/master/sample-app).## Lazysodium for Android
We also have an Android implementation available at [Lazysodium for Android](https://github.com/terl/lazysodium-android). It has the same API as this library, so you can share code easily!---
Created by [Terl](https://terl.co).