void TestHashes() {
	const std::string p_fileName = "D:\\Games\\Doom3\\install.log";
	const std::string p_text = "I'm a string ready to be hashed";

	test_none( p_fileName, p_text );
	test_crc32( p_fileName, p_text );
	test_md5( p_fileName, p_text );
	test_sha1( p_fileName, p_text );
	test_sha224( p_fileName, p_text );
	test_sha256( p_fileName, p_text );
	return;
}
Exemple #2
0
int test_main( int , char* [] )
{
  test_none();
  return 0;
}