Export (0) Print
Expand All

PasswordDeriveBytes Constructor

.NET Framework 1.1

Initializes a new instance of the PasswordDeriveBytes class.

Overload List

Initializes a new instance of the PasswordDeriveBytes class with the password and key salt to use to derive the key.

[Visual Basic] Public Sub New(String, Byte())
[C#] public PasswordDeriveBytes(string, byte[]);
[C++] public: PasswordDeriveBytes(String*, unsigned char __gc[]);
[JScript] public function PasswordDeriveBytes(String, Byte[]);

Initializes a new instance of the PasswordDeriveBytes class with the password, key salt, and cryptographic service provider (CSP) parameters to use to derive the key.

[Visual Basic] Public Sub New(String, Byte(), CspParameters)
[C#] public PasswordDeriveBytes(string, byte[], CspParameters);
[C++] public: PasswordDeriveBytes(String*, unsigned char __gc[], CspParameters*);
[JScript] public function PasswordDeriveBytes(String, Byte[], CspParameters);

Initializes a new instance of the PasswordDeriveBytes class with the password, key salt, hash name, and number of iterations to use to derive the key.

[Visual Basic] Public Sub New(String, Byte(), String, Integer)
[C#] public PasswordDeriveBytes(string, byte[], string, int);
[C++] public: PasswordDeriveBytes(String*, unsigned char __gc[], String*, int);
[JScript] public function PasswordDeriveBytes(String, Byte[], String, int);

Initializes a new instance of the PasswordDeriveBytes class with the password, key salt, hash name, number of iterations, and cryptographic service provider (CSP) parameters to use to derive the key.

[Visual Basic] Public Sub New(String, Byte(), String, Integer, CspParameters)
[C#] public PasswordDeriveBytes(string, byte[], string, int, CspParameters);
[C++] public: PasswordDeriveBytes(String*, unsigned char __gc[], String*, int, CspParameters*);
[JScript] public function PasswordDeriveBytes(String, Byte[], String, int, CspParameters);

See Also

PasswordDeriveBytes Class | PasswordDeriveBytes Members | System.Security.Cryptography Namespace

Show:
© 2014 Microsoft