相关疑难解决方法(0)

Asp.net身份密码哈希

新的ASP.net Identity项目为网站安全带来了一些有用的代码和接口.要使用接口实现自定义系统(而不是使用MVC 5模板中包含的标准Entity Framework实现),IPasswordHasher则需要使用.

IPasswordHasher ASP.net身份中的接口

namespace Microsoft.AspNet.Identity
{
    public interface IPasswordHasher
    {
         string HashPassword(string password);
         PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword);
    }
}
Run Code Online (Sandbox Code Playgroud)

是否可以使用密码salting在ASP.net身份中通过此接口进行更安全的加密?

asp.net security identity asp.net-identity

33
推荐指数
3
解决办法
7万
查看次数

标签 统计

asp.net ×1

asp.net-identity ×1

identity ×1

security ×1