d7ead / hashplusplus Goto Github PK
View Code? Open in Web Editor NEWA C++17 header-only library to easily retrieve hashes/HMACs from data, files, and files in nested directories through a simple interface.
License: MIT License
A C++17 header-only library to easily retrieve hashes/HMACs from data, files, and files in nested directories through a simple interface.
License: MIT License
The hashing of files works (at least for SHA256 that I need right now). However it's not efficient because it reads in memory the whole binary file, then copy this buffer into another one. For every block of cipher (ex: 32 bytes for SHA256), it's re-copied (without the ciphered block), thus copying the "big buffer" lots of times.
To hash a 2GB file, it will copy several millions of times the whole buffer which is very inefficient.
I will provide a series of fixes that should solve this behavior by reworking the hashing algorithm. It will read the file block by block (1MB) and it should be compatible for all the hashing algorithms.
Please let me which better in between hashcat or HashPlusPlus..
hashpp can't be build with latest vstudio because of "constexpr" functions that aren't "const".
Exemple:
constexpr void ctx_init();
hashpp.h: 547 error: 'struct std::array<unsigned char, 64' has no member named '_Elems'.
There is a typo for SHA2_256 hashing algorithm:
case hashpp::ALGORITHMS::SHA2_256: {
vSHA2_224.push_back(hashpp::SHA::SHA2_256().getHash(_data));
I'll provide a list of fixes soon.
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.