Example #1
0
        public void TigerTreeVectorTest(byte[] input, byte[] expectedOutput)
        {
            HashTree tree = new HashTree(new Tiger(TigerParameters.GetParameters(TigerStandard.Tiger192BitVersion1)), 1024);

            CustomAssert.AreEqual(expectedOutput, tree.ComputeHash(input));
        }
        public void DefaultConstructorTest()
        {
            MultiHash hasher = new MultiHash();

            CustomAssert.AreEqual(new byte[0], hasher.ComputeHash(new byte[0]));
        }