Пример #1
0
        public void GetHashAndSaltStringToVerifySuccess()
        {
            const string data = "Reşad";
            string       hash;
            string       salt;

            _hashing.GetHashAndSaltString(data, out hash, out salt);
            bool verified = _hashing.VerifyHashString(data, hash, salt);

            Assert.AreEqual(verified, true);
        }