Hashcode: 52783243c1697bdbe16d37f97f68f08325dc1528Īnd yes, all of this was done on a Raspberry Pi 4B with 4 GB RAM, which I suspect is more powerful than the system(s) on which RIPEMD-160 was initially designed and tested. Test input processed in 0.440054 seconds.Ĭharacters processed per second: 2.27245e+07 Test input processed in 0.440118 seconds.Ĭharacters processed per second: 2.27212e+07 * message: "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" The -t and -x flags, taken together or separately hash the strings with performance $. x - execute standard test suite, ASCII input a.outįilename - compute hash code of file binary read Invocation without any arguments produces the usage $. Hashtest.c:298:1: warning: return type defaults to ‘int’ Compilation produces a warning as the return type of main is not explicitly $ cc hashtest.c The test strings used in every example are included in hashtest.c. #ifndef RMDsize #define RMDsize 160 #endif #include #include #include #include #if RMDsize = 128 #include "rmd128.h" #include "rmd128.c" /* Added to remove errors during compilation */ #elif RMDsize = 160 #include "rmd160.h" #include "rmd160.c" /* Added to remove errors during compilation */ #endif Hash begin Digest_Start ( Pointer ) Digest_Update ( Pointer, Bytes ) Digest_End ( Pointer, Hash ) Ada. Get_Message_Digest_Handle Pointer : constant Message_Digest_Ptr := Get_Message_Digest_Ptr ( Handle ) Hash : Hashes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |