示例#1
0
        public void Empty_string()
        {
            string result = Sha2.ComputeString(string.Empty);

            Assert.AreEqual(Sha2OfEmptyString, result);
        }
示例#2
0
        public void Empty_byte_array()
        {
            string result = Sha2.ComputeString(new byte[] { });

            Assert.AreEqual(Sha2OfEmptyString, result);
        }