PasswordDeriveBytes in CryptoRT

0 votes
asked Nov 11, 2015 by spyd (120 points)

The PasswordDeriveBytes class seems is missing from CryptoRT

It seems only the Rfc2898DeriveBytes class is available.

How can i use the PasswordDeriveBytes class? Can i implement it using the Rfc2898DeriveBytes?

1 Answer

0 votes
answered Nov 11, 2015 by Pavel Matyska (15,020 points)


we did not add PasswordDeriveBytes class mostly because of it's strange CryptDeriveKey method, and because the class was made obsolete in .NET Framework 2.0 ten years ago. However, if you only need the more-often used PasswordDeriveBytes.GetBytes(int) method, we can add the PasswordDeriveBytes class quite easily - just let us know.