A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ron4fun/HashLibPlus-Reload below:

ron4fun/HashLibPlus-Reload: HashLibPlus is a recommended C++11 hashing library that provides a fluent interface for computing hashes and checksums of strings, files, streams, bytearrays and untyped data to mention but a few.

HashLibPlus-Reload

HashLibPlus is a recommended C++11 hashing library that provides a fluent interface for computing hashes and checksums of strings, files, streams, bytearrays and untyped data to mention but a few.

It also supports Incremental Hashing, Cloning, NullDigest.

Non-Cryptographic Hash Functions Cryptographic Hash Functions Password Hashing Schemes (Password Based Key Derivation Functions) XOF (Extendable Output Function)
#include "Base/HashFactory.h"

int main() 
{
    IHash hash = HashFactory::Crypto::CreateMD5();
		
    IHash clone = hash->Clone();

    IHMAC hmac = HashFactory::HMAC::CreateHMAC(hash);
    hmac->SetKey(Converters::ConvertStringToBytes("password"));

    IHashResult Result1 = hash->ComputeString("Hash");
    IHashResult Result2 = hmac->ComputeString("Hash");
	
    bool check = Result1->CompareTo(Result2);
    
    return 0;
}

Note: catch2 library was used as the test framework in the HashLibPlus.Test project.

1. Build the HashLibPlus-Reloaded project firstly.

2. Drag and drop the built HashLibPlus-Reload Release *.obj files (except for HashLibPlus.obj) into HashLibPlus.Test project in Visual Studio (to avoid link issues) then build.

This executable displays a benchmark test analysis of the compiled code speed with regards to your C.P.U capability.

This executable hooks into catch2 process to allow for detailed test results, and other command line options that catch2 supports for those that wish to pass values to catch2 interface.

If you want implementations in other languages, you can check out these


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4