This documentation is archived and is not being maintained.

PasswordDeriveBytes Constructor (String, Byte[])

.NET Framework 1.1

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( _
   ByVal strPassword As String, _
   ByVal rgbSalt() As Byte _
public PasswordDeriveBytes(
   string strPassword,
 byte[] rgbSalt
public: PasswordDeriveBytes(
   String* strPassword,
 unsigned char rgbSalt __gc[]
public function PasswordDeriveBytes(
   strPassword : String,
 rgbSalt : Byte[]


The password for which to derive the key.
The key salt to use to derive the key.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PasswordDeriveBytes Class | PasswordDeriveBytes Members | System.Security.Cryptography Namespace | PasswordDeriveBytes Constructor Overload List | Cryptographic Services