Esempio n. 1
0
        public void TestComputeSha1()
        {
            var result = HashUtils.ComputeSha1(HashUtilsData.Data);

            Assert.Equal(HashUtilsData.Sha1Hash.Length, result.Length);
            Assert.Equal(HashUtilsData.Sha1Hash, result);
        }