FileEncryption.SetPassword Method
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9119)
SetPassword(Byte[])
Sets password for encryption and decryption.
Declaration
public void SetPassword(byte[] password)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | password | Password for encryption and decryption. |
SetPassword(String)
Sets password for encryption and decryption.
Declaration
public void SetPassword(string password)
Parameters
Type | Name | Description |
---|---|---|
String | password | Password for encryption and decryption. |
SetPassword(Byte[], KeyDerivationAlgorithm)
Sets password for encryption and decryption.
Declaration
public void SetPassword(byte[] password, KeyDerivationAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | password | Password for encryption and decryption. |
KeyDerivationAlgorithm | algorithm | Key derivation algorithm. |
SetPassword(String, KeyDerivationAlgorithm)
Sets password for encryption and decryption.
Declaration
public void SetPassword(string password, KeyDerivationAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
String | password | Password for encryption and decryption. |
KeyDerivationAlgorithm | algorithm | Key derivation algorithm. |