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