MHashPPTest Class Reference
#include <MHashPPTest.h>
List of all members.
Constructor & Destructor Documentation
Member Function Documentation
bool MHashPPTest::genericTestMHashPP |
( |
hashid |
a, |
|
|
BitString |
data, |
|
|
BYTE * |
shouldbe | |
|
) |
| | [private] |
compute a hash using MHashPP and compare it to a reference value
- Parameters:
-
| a | the hash algorithm that should be used by MHashPP |
| data | the input of the hash algorithm |
| shouldbe | the reference value of the result of the hash algorithm |
- Returns:
- true iff shouldbe is the result of the hash algorithm a applied to data by MHashPP
void MHashPPTest::testCRC32 |
( |
void |
|
) |
|
void MHashPPTest::testMD5 |
( |
void |
|
) |
|
test output of MHashPP class with MD5 algorithm against the test vectors given in RFC 1321
The documentation for this class was generated from the following files: