Giter Club home page Giter Club logo

cpp-scrypt's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cpp-scrypt's Issues

Implement PBKDF2_HMAC_SHA256

It would be nice to make this repo kinda self-contained. To do this, we need to implement PBKDF2_HMAC_SHA256. At minimum, this requires us to implement the following.

  1. PBKDF2 (RFC 8018)
  2. HMAC (RFC 2104)
  3. SHA256 (RFC 4634)

I am lying a little here, we don't really need to implement HMAC in all its generality, we just need to implement SHA-HMAC (RFC 2104), but that doesn't seem much easier.

Change License to BSD-3

When I first started writing this, I had different goals in mind than I do now. Hence I think it's best to use a more appropriate license.

Implement ChaCha20

ChaCha20 (RFC 8439) is a refinement of Salsa20 (which is currently implemented in this repo). In the scrypt paper Percival mentioned (see footnote 15) that they chose Salsa20 over ChaCha20 because ChaCha20 was new at the time and hence less studied. Today, ChaCha20 has been studied and widely implemented. So, it makes sense to replace the Salsa20 in scrypt with ChaCha20.

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.