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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also