0
目前我只能看到hashpassword在asp.net身份保存在我的用戶表。如何在asp.net標識中將hashpassword的salt密碼保存在數據庫中。我還需要驗證密碼,以保存hashpasswords。如何在asp.net標識中將salt密碼保存在數據庫中?
目前我只能看到hashpassword在asp.net身份保存在我的用戶表。如何在asp.net標識中將hashpassword的salt密碼保存在數據庫中。我還需要驗證密碼,以保存hashpasswords。如何在asp.net標識中將salt密碼保存在數據庫中?
據我所知ASP.NET身份默認的密碼散列器已經使用一個隨機產生的哈希值。看看here。鹽被包括作爲密鑰派生函數輸出的一部分。
所以我的回答是,你不必這樣做。