예제 #1
0
        public void SHA512_hash_is_equal_to_other_generator_using_default_encoding()
        {
            string wordToHash = "milk";
            string milkHash   = "7586A2A3DA04B9C2610906E936D0365EAA601AD8CDF26D30501AFA2A27A3D42AB0023912B488F408D457BD958EBB24140C2BA029CE93A9702D9197A6E30C331D";

            Assert.AreEqual(milkHash, SHA.CreateSHA512Hash(wordToHash));
        }