#include <MHashPP.h>
MHashPP::MHashPP |
( |
void |
| ) |
|
MHashPP::MHashPP |
( |
hashid |
a | ) |
|
const std::vector< BYTE > & MHashPP::end |
( |
void |
| ) |
|
std::string MHashPP::getAlgorithmName |
( |
void |
| ) |
|
|
private |
std::string MHashPP::getAlgorithmName |
( |
hashid |
id | ) |
|
|
staticprivate |
get the hash bits
- Returns
- the hash value of the data that has been passed via <<
const std::vector< BYTE > & MHashPP::getHashBytes |
( |
void |
| ) |
|
unsigned int MHashPP::getHashSize |
( |
void |
| ) |
|
get the hash size
- Returns
- the size of the value returned by getHashBits in bytes
void MHashPP::init |
( |
hashid |
a | ) |
|
MHashPP & MHashPP::operator<< |
( |
std::string |
v | ) |
|
feed the std::string v to the hashing algorithm
- Parameters
-
v | the std::string to be feeded to the hashing algorithm (without '\0' at the end) |
feed the BitString v to the hashing algorithm
- Parameters
-
v | the BitString to be feeded to the hashing algorithm (v.getLength() % 8 == 0 must hold) |
feed the byte v to the hashing algorithm
- Parameters
-
v | the byte to be feeded to the hashing algorithm |
interpret the command c
- Parameters
-
std::vector<BYTE> MHashPP::HashBytes |
|
private |
bool MHashPP::HashBytesValid |
|
private |
The documentation for this class was generated from the following files: