Example #1
0
        public void X13_Hash()
        {
            var hasher = new X13();
            var result = hasher.Digest(testValue2).ToHexString();

            Assert.Equal("55b2b7f940ffb87bdb138ebdb04b8f823aa55736852c06ea9de46124f85d70e9", result);
        }
Example #2
0
        public void X13_Hash_Should_Throw_On_Null_Input()
        {
            var hasher = new X13();

            Assert.Throws <ArgumentNullException>(() => hasher.Digest(null));
        }