// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNet.Identity { /// /// Abstraction for password hashing methods /// public interface IPasswordHasher { /// /// Hash a password /// /// /// string HashPassword(string password); /// /// Verify that a password matches the hashed password /// /// /// /// PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword); } }