Exemple #1
0
        public PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword)
        {
            string decryptedPassword = AESHelper.AES_Decryption(hashedPassword);

            if (decryptedPassword.Equals(providedPassword))
            {
                return(PasswordVerificationResult.Success);
            }
            else
            {
                return(PasswordVerificationResult.Failed);
            }
        }