Пример #1
0
        public void RIPEMD160_Test1()
        {
            string className = hash.ToString();

            byte[] result = { 0x9c, 0x11, 0x85, 0xa5, 0xc5, 0xe9, 0xfc, 0x54, 0x61, 0x28, 0x08, 0x97, 0x7e, 0xe8, 0xf5, 0x48, 0xb2, 0x25, 0x8d, 0x31 };
            byte[] input  = new byte [0];

            string testName = className + " 1";

            RIPEMD160_a(testName, hash, input, result);
            RIPEMD160_b(testName, hash, input, result);
            RIPEMD160_c(testName, hash, input, result);
            RIPEMD160_d(testName, hash, input, result);
            // N/A RIPEMD160_e (testName, hash, input, result);
        }