Example #1
0
        public static bool ValidatePassword(string password, string hash)
        {
            var isValid = PasswordHash.ValidatePassword(password, hash);

            return(isValid);
        }
Example #2
0
        public static string HashPassword(string password)
        {
            var saltedHash = PasswordHash.CreateHash(password);

            return(saltedHash);
        }