Mono Class Library: System.Security.Cryptography Namespace

System.Security.Cryptography.PasswordDeriveBytes Class

Implement PKCS #5 (Password-Based Cryptography Standard) password-based key derivation. [Edit]

See Also: PasswordDeriveBytes Members

System.Object
     System.Security.Cryptography.DeriveBytes
          System.Security.Cryptography.PasswordDeriveBytes

[System.Runtime.InteropServices.ComVisible(true)]
public class PasswordDeriveBytes : DeriveBytes

Remarks

Mono implements only PKCS#5 v1.5 in this class. On Microsoft's runtime the constructors and methods using CspParameters can be used to select a specific CSP for key derivation. The problem is that the "standard" MS CSP key derivation is undocumented and non-MS CSP may use different implementations as well.

Using an undocumented key derivation algorithm for your product is a REALLY BAD idea.

WARNING: See PasswordDeriveBytes.GetBytes method for more informations about the security and interoperability issues when using this class.

FX 2.0: Unless you must interoperate with PKCS#5 v.1.5 please use the newer Rfc2898DeriveBytes class which implements PKCS#5 v2.0.

[Edit]

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0