mhashpptest(3)

NAME

MHashPPTest

SYNOPSIS

#include <MHashPPTest.h>
Inherits UnitTest.
Public Member Functions
MHashPPTest (TestSuite *s)
void testMD5 (void)
void testCRC32 (void)
Private Member Functions
bool genericTestMHashPP (hashid a, BitString data, BYTE *shouldbe)

Constructor & Destructor Documentation

MHashPPTest::MHashPPTest (TestSuite * s)

Member Function Documentation

void MHashPPTest::testMD5 (void)
test output of MHashPP class with MD5 algorithm against the test vectors given in RFC 1321
void MHashPPTest::testCRC32 (void) 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

Author

Generated automatically by Doxygen for steghide from the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout