Sets password for encryption and decryption.
Namespace:
Rebex.Security
Assembly:
Rebex.Security (in Rebex.Security.dll)
Syntax
Visual Basic |
---|
Public Sub SetPassword ( _ password As Byte(), _ algorithm As KeyDerivationAlgorithm _ ) |
C# |
---|
public void SetPassword( byte[] password, KeyDerivationAlgorithm algorithm ) |
Parameters
- password
- Type: array<System..::..Byte>[]()[][]
Password for encryption and decryption.
- algorithm
- Type: Rebex.Security..::..KeyDerivationAlgorithm
Key derivation algorithm.