【问题标题】:How we can save salt password in database in asp.net identity?我们如何将盐密码保存在 asp.net 身份的数据库中?
【发布时间】:2016-12-17 12:56:11
【问题描述】:

当前我只能在 asp.net 身份中看到保存在我的用户表中的 hashpassword。如何在 asp.net 身份中的 hashpassword 数据库中保存 salt 密码。我还需要验证保存哈希密码的密码。

【问题讨论】:

    标签: security hash passwords asp.net-identity


    【解决方案1】:

    据我所知,ASP.NET Identity 默认密码哈希已经使用随机盐来产生哈希。看看here。盐包含在密钥派生函数的输出中。

    所以我的回答是你不需要这样做。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-11-13
      • 2015-04-23
      • 1970-01-01
      • 2011-05-08
      • 2011-04-29
      • 2021-03-18
      • 2020-05-13
      • 1970-01-01
      相关资源
      最近更新 更多