henrycg / balloon Goto Github PK
View Code? Open in Web Editor NEWA memory-hard password hashing function.
Home Page: https://crypto.stanford.edu/balloon/
License: ISC License
A memory-hard password hashing function.
Home Page: https://crypto.stanford.edu/balloon/
License: ISC License
This is a research protoype of the Balloon space-hard hash function. The code is still a work in progress. Some (not all) of the parts of the code that need attention are marked with TODO comments. See the LICENSE file for licensing information. Consult the INSTALL file for information on how to compile this code. ---------------------------------------- _ _ _ _ | | | | (_) | | | | | | __ _ _ __ _ __ _ _ __ __ _| | | |/\| |/ _` | '__| '_ \| | '_ \ / _` | | \ /\ / (_| | | | | | | | | | | (_| |_| \/ \/ \__,_|_| |_| |_|_|_| |_|\__, (_) __/ | |___/ Please DO NOT use this code in production! This is an early research prototype built exclusively for benchmarking purposes and it is almost certainly riddled with obvious security vulnerabilities. In the future, if this code gets the level of scrutiny that security-critical production code deserves, I will remove this warning. Until then, here be dragons. ---------------------------------------- Authors: Henry Corrigan-Gibbs, Stanford Dan Boneh, Stanford Stuart Schechter, Microsoft Research Contact Henry for questions about the code: [email protected] 23 November 2015
Hi,
I couldn't find any test vectors here. It would be perfectly nice to have them for other implementations as well as to run unit tests over the reference implementation.
I can generate them using this implementation to verify other ones but it is much better to have official ones. :)
Is BH still the preferred iMHF?
Given the attacks on Argon2i and BH, what are the current recommended parameters?
Thanks.
Line 79 in 0ae35a8
i am not sure if memcmp is Safe of vectorized and small, but using CRYPTO_memcmp
would be more common usage (not sure how good ,)
You should be using a constant time base64 encode/decode. I'd suggest using: https://github.com/Sc00bz/ConstTimeEncoding
Line 65 in 0ae35a8
Is that comment correct, it seems like it adds it as the first 4 bytes, not the last?
On Fedora 31 this does not compile, several deprecated or dead functions in openssl stop it.
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.