Rfc2898 / PBKDF2 with SHA256 as digest in c#

前端 未结 8 2286
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 10:01

I want to use Rfc2898 in c# to derive a key. I also need to use SHA256 as Digest for Rfc2898. I found the class Rfc2898DeriveBytes, but it uses SHA-1 and I don\

8条回答
  •  独厮守ぢ
    2020-12-13 10:51

    You could use Bouncy Castle. The C# specification lists the algorithm "PBEwithHmacSHA-256", which can only be PBKDF2 with SHA-256.

提交回复
热议问题