GithubHelp home page GithubHelp logo

libsodium's People

Contributors

d-p-y avatar gladear avatar maxux avatar medvednikov avatar spytheman avatar yuyi98 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

Watchers

 avatar  avatar  avatar  avatar  avatar

libsodium's Issues

VerifyKey.public_key must be public

When I want to generate a new verify key I call this method new_signing_key and then it will generate a new signing key containing verify_key and public_key inside it.

    verify_key: libsodium.VerifyKey{
        public_key: [3,21,......]
    }
}

What i want to access this public_key, I did

 verify_key.public_key

and because this is not public I can't access it and got this error

 error: field `libsodium.VerifyKey.public_key` is not public

so there is any way to do it or i can edit it and make a pull request?
thanks

Missing license

Hi,
can you please specify license for this repo? I would like to contribute but lack of license causes uncertainty.
Thank you

Support for crypto_pwhash

Great to see libsodium support for V! I am finding a way to securely store user passwords, is there any plan to support crypto_pwhash?

Edit

Currently trying to giving a try to contribute with the few C skill I have ๐Ÿ˜…

Cannot use private key encryption

I can't use private key encryption because nonce is different for the client and the server. Is there a way to use libsodium to encrypt and decrypt with the same private key on the client and on the server ?
Thanks per advance ๐Ÿ˜„

Please make nonce configurable

I use currently use smallstep cli for secretbox encryption and I thought it would be nice to rewrite the command in V.
The code was very easy to write. However, current V secretbox implementation does not expose the nonce so it is not possible to inter-operate with smallstep cli, or even with another V process.

My workaround was to to make nonce pub mut in smallstep.v, and change the type from current [24]byte to []byte. I now pass the nonce on the command line to both smallstep and my sbox cli.

Thank you for porting libsodium to V!

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.