//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // WjCryptLibTest_Hashes // // Tests the hash functions against known test vectors to verify algorithms are correct. // Tests the following: // MD5 // SHA1 // SHA256 // SHA512 // // This is free and unencumbered software released into the public domain - June 2013 waterjuice.org //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IMPORTS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // PUBLIC FUNCTIONS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // TestHashes // // Test Hash functions algorithm against test vectors //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool TestHashes ( void );