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 _ ) [C#] public PasswordDeriveBytes( string strPassword, byte[] rgbSalt ); [C++] public: PasswordDeriveBytes( String* strPassword, unsigned char rgbSalt __gc[] ); [JScript] public function PasswordDeriveBytes( strPassword : String, rgbSalt : Byte[] );
Parameters
- strPassword
- The password for which to derive the key.
- rgbSalt
- The key salt to use to derive the key.
Requirements
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