Initializes a new instance of Rfc2898DeriveBytes using a password and salt.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ password As String, _ salt As Byte() _ ) |
C# |
---|
public Rfc2898DeriveBytes( string password, byte[] salt ) |
Parameters
- password
- Type: System..::..String
The password used to derive the key.
- salt
- Type: array<System..::..Byte>[]()[][]
The key salt value used to derive the key.