Giter Site home page Giter Site logo

Comments (3)

dsprenkels avatar dsprenkels commented on August 16, 2024

Hey @AkritiSondhi, thanks for showing interest in this library.

As is the case with Swift, I am not very at all experienced with Android development. I made the JNI bindings as is, and have only tested them on my phone. I'm already sorry for the bad support, but I will try my best.

I have not put the library on any package manager (just because I do not yet know how the Android build system seems to work). I would recommend using JitPack instead. They provide an example at https://jitpack.io/docs/. Translating this to sss-android should probably give something like:

    allprojects {
        repositories {
            jcenter()
            maven { url "https://jitpack.io" }
        }
   }
   dependencies {
        compile 'com.github.dsprenkels:sss-android:master-SNAPSHOT'
   }

Note that to compile native code you additionally need the CMake, LLDB and NDK tools. On Arch Linux, you will probably run into this problem which can be solved by installing ncurses5-compat-libs from the AUR.

This will maybe not solve everything, but should probably get you started. Please, if you can spare the effort, tell me if it works properly. Then I can write a proper README.md file in the sss-android repo. Thanks in advance!

from sss.

jaromil avatar jaromil commented on August 16, 2024

It may be of help, as a hint or alternative solution, to have a look at what we do with Zenroom which uses this library as entropy generator (seed) for a cryptographically secure RNG. Here are the build instructions also pointing to scripts https://github.com/DECODEproject/zenroom/wiki/Build. Beware that including Zenroom may be overhead (~1MB payload) if only randombytes is really needed.

from sss.

dsprenkels avatar dsprenkels commented on August 16, 2024

Closing as a stale issue.

from sss.

Related Issues (20)

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.