Giter Club home page Giter Club logo

libsodium-jna's People

Contributors

bbyrd74 avatar kmels avatar mmorgan27 avatar muquit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libsodium-jna's Issues

crypto_sign and crypto_sign_detached throwing invalid mem access (windows)

Not sure why these wont work (the 2 verify ones also fail with same error). I do already have many of your libsodium-jna functions working normally. I have also implemented a few new ones for you and have recently pushed them to you for merge.

But these ones just seem to fail. (using eclipse neon 64 and jre 1.8.0_144

Salt and Nonce wrong byte size

I posted the same question on the original c libsodium library repo jedisct1/libsodium#634. But I figured I'd ask here since I'm using this library. I'm on 32-bit win10 running this in IntelliJ. I installed the c library myself since any documentation for windows is non-existant but when I run the TestSodiumLibrary it fails on 13 tests all with the same error relating to incorrect sizes of nonces and salts. Something like "com.muquit.libsodiumjna.exceptions.SodiumLibraryException: salt is 32, it must be 63310704161062944 bytes". So my thinking is I probably didn't setup access to the c library properly, but I don't have any way of being sure. I was hoping maybe someone would have an idea as to why the incorrect byte size is being read from c in the Java project. I.e for cryptoPwhashScrypt it sets long salt_length to sodium().crypto_pwhash_scryptsalsa208sha256_saltbytes(). In c this is 32U, in java its something like 143250559619563552 since the value is never constant per compilation.

Argon2id iterations/cost

I feel blind, but I'm not seeing where/how to use iterations/cost for Argon2, if it's built in.

Am I missing something?

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.