public bool VerifyHashedPassword(string hashedPassword, string password)
        {
            if (hashedPassword.Contains(PasswordHashingIterationCountSeparator.ToString()))
            {
                var parts = hashedPassword.Split(PasswordHashingIterationCountSeparator);
                if (parts.Length != 2)
                {
                    return(false);
                }

                var count = DecodeIterations(parts[0]);
                if (count <= 0)
                {
                    return(false);
                }

                hashedPassword = parts[1];

                return(CryptographyUtility.VerifyHashedPassword(hashedPassword, password, count));
            }
            return(CryptographyUtility.VerifyHashedPassword(hashedPassword, password));
        }