MHashPP Class Reference
#include <MHashPP.h>
List of all members.
Member Enumeration Documentation
Constructor & Destructor Documentation
MHashPP::MHashPP |
( |
void |
|
) |
|
MHashPP::MHashPP |
( |
hashid |
a |
) |
|
Member Function Documentation
const std::vector< BYTE > & MHashPP::end |
( |
void |
|
) |
|
std::string MHashPP::getAlgorithmName |
( |
hashid |
id |
) |
[static, private] |
std::string MHashPP::getAlgorithmName |
( |
void |
|
) |
[private] |
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 |
) |
|
interpret the command c
- Parameters:
-
feed the byte v to the hashing algorithm
- Parameters:
-
| v | the byte to be feeded to the hashing algorithm |
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) |
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 '' at the end) |
Member Data Documentation
The documentation for this class was generated from the following files: