Create a new instance of PasswordDeriveBytes with a secret password and a salt value.
[Edit]
public PasswordDeriveBytes (string strPassword, byte[] rgbSalt) |
|
Parameters
- strPassword
- The password to be converted into a secret key.
[Edit]
- rgbSalt
- A salt (public random value) to be added to the derivation. This parameter helps to prevent pre-calculated dictionary attacks against the algorithm.
[Edit]
Remarks
Requirements
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0