且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

.NET 中的哪些散列算法适合密码散列?

更新时间:2022-12-10 11:39:04

我认为这并不是一个真正有意义的类名,但我认为它包含在 .NET 框架中.根据多个消息来源,Rfc2898DeriveBytes 实际上是PBKDF2 实现.MSDN 也是这么说的.

I think it's not really a meaningful Class name, but I do think it is included in the .NET framework. According to multiple sources, Rfc2898DeriveBytes is actually a PBKDF2 implementation. MSDN says so as well.

为什么我需要使用 Rfc2898DeriveBytes 类(在 .NET 中)而不是直接使用密码作为密钥或 IV?使用 Rfc2898DeriveBytes 在 C# 中实现 PBKDF2

例如.