sgmenda / cpp-scrypt Goto Github PK
View Code? Open in Web Editor NEWA C++ Implementation of Scrypt
License: BSD 3-Clause "New" or "Revised" License
A C++ Implementation of Scrypt
License: BSD 3-Clause "New" or "Revised" License
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.
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.
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.
Block mixing can be parallelized, implement it.
Balloon hashing looks really cool---implement it.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.