Giter Site home page Giter Site logo

copelandsoftware / lazysodium-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terl/lazysodium-android

0.0 1.0 0.0 4.03 MB

An Android implementation of the Libsodium cryptography library. For the lazy dev.

Home Page: https://github.com/terl/lazysodium-java/wiki

License: Mozilla Public License 2.0

Java 100.00%

lazysodium-android's Introduction

Lazysodium Android

Lazysodium is a complete Android implementation of the Libsodium library that provides developers with a smooth and effortless cryptography experience.

Checks Maven Central

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.

Features

This library is fully compatible with Kotlin powered Android projects.

You can find an up-to-date feature list here.

Quick start

This is by no means a comprehensive introduction to Lazysodium. Please view the official documentation 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.

The following example is for users of the build tool Gradle:

// 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:

Maven Central

How the artifacts were built

The jniLibs directory contains .so library files built with libsodium's Android release scripts located in dist-build using their stable branch as of April 6, 2022, SHA 7389bf7f2968be75520e932704f18f038c29e581. Android NDK LTS 23.2.8568313 (r23c) was used with platform target of API 26. SHA256 hashes are as follows

  • 9c267f0ceb058ff7a2498098f5b0ba5d90e5a4573b564439d315fa58e7034366 arm64-v8a/libsodium.so
  • 6743b34ce1dccdae3c03975645ca9b8330c6153dbefac1a3e08d4f52d836c49c armeabi-v7a/libsodium.so
  • ec34b33c1d7bd18be885b30752f637da6353d3453fe183744449ea08e3af6607 x86/libsodium.so
  • d83142a2da16f487d821bb65e7e5971c3e82c2bfc50ad2978ada2cfadfc1a0bf x86_64/libsodium.so

Documentation

See our official documentation to get started.

Apps

You can preview some of the features in our free Lazysodium app available on Google Play:

Get it on Google Play

Lazysodium for Java

We also have a Java implementation available at Lazysodium for Java. It has the same API as this library so you can share code easily!


Created by Terl.

lazysodium-android's People

Contributors

gurpreet- avatar markshiz avatar bmoliveira avatar mitfik avatar m4dc4p avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.