Whirlpool hash class.
More...
#include <juce_Whirlpool.h>
Whirlpool hash class.
The Whirlpool algorithm was developed by Paulo S. L. M. Barreto and Vincent Rijmen.
See P.S.L.M. Barreto, V. Rijmen, "The Whirlpool hashing function" NESSIE submission, 2000 (tweaked version, 2001), https://www.cosic.esat.kuleuven.ac.be/nessie/workshop/submissions/whirlpool.zip
- See also
- SHA256, MD5
◆ Whirlpool() [1/7]
Creates an empty Whirlpool object.
The default constructor just creates a hash filled with zeros. (This is not equal to the hash of an empty block of data).
◆ ~Whirlpool()
Whirlpool::~Whirlpool |
( |
| ) |
|
|
noexcept |
◆ Whirlpool() [2/7]
Whirlpool::Whirlpool |
( |
const Whirlpool & | other | ) |
|
|
noexcept |
◆ Whirlpool() [3/7]
Creates a hash from a block of raw data.
◆ Whirlpool() [4/7]
Whirlpool::Whirlpool |
( |
const void * | data, |
|
|
size_t | numBytes ) |
Creates a hash from a block of raw data.
◆ Whirlpool() [5/7]
Creates a hash from the contents of a stream.
This will read from the stream until the stream is exhausted, or until maxBytesToRead bytes have been read. If maxBytesToRead is negative, the entire stream will be read.
◆ Whirlpool() [6/7]
Whirlpool::Whirlpool |
( |
const File & | file | ) |
|
|
explicit |
Reads a file and generates the hash of its contents.
If the file can't be opened, the hash will be left uninitialised (i.e. full of zeros).
◆ Whirlpool() [7/7]
Creates a checksum from a UTF-8 buffer.
E.g.
Whirlpool hash class.
Definition juce_Whirlpool.h:60
◆ operator=()
◆ getRawData()
Returns the hash as a 64-byte block of data.
◆ toHexString()
String Whirlpool::toHexString |
( |
| ) |
const |
Returns the checksum as a 128-digit hex string.
◆ operator==()
bool Whirlpool::operator== |
( |
const Whirlpool & | | ) |
const |
|
noexcept |
◆ operator!=()
bool Whirlpool::operator!= |
( |
const Whirlpool & | | ) |
const |
|
noexcept |
The documentation for this class was generated from the following file: