#include <MHashPPTest.h>
Inheritance diagram for MHashPPTest:

Public Member Functions | |
| MHashPPTest (TestSuite *s) | |
| void | testMD5 (void) |
| void | testCRC32 (void) |
Private Member Functions | |
| bool | genericTestMHashPP (hashid a, BitString data, BYTE *shouldbe) |
| MHashPPTest::MHashPPTest | ( | TestSuite * | s | ) |
| void MHashPPTest::testMD5 | ( | void | ) |
test output of MHashPP class with MD5 algorithm against the test vectors given in RFC 1321
| void MHashPPTest::testCRC32 | ( | void | ) |
compute a hash using MHashPP and compare it to a reference value
| 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 |
1.5.1