How to Generate Whirlpool Hash with C++ and OpenSSL
The Whirlpool Galaxy (M51) inspired the name of the algorithm.
Whirlpool (sometimes called WHIRLPOOL ) is a cryptographic hash function based on an AES block cipher.
It generates a hash of length of 128 characters.
Using with C++
For this example, we are going to hash the word Terminal Root . Follow the code below:
To compile, run:
The possible and expected output will be:
To check if it is correct, use the
rhash command with the following arguments: