Resets the instance with new or initial key material. Allows the switch of keys at runtime without any new internal object allocation.

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public void Initialize(
	byte[] key,
	int ofs,
	int len
)
Visual Basic
Public Sub Initialize ( _
	key As Byte(), _
	ofs As Integer, _
	len As Integer _
)
Visual C++
public:
void Initialize(
	array<unsigned char>^ key, 
	int ofs, 
	int len
)

Parameters

key
Type: array<System..::..Byte>[]()[][]
The buffer with the key material.
ofs
Type: System..::..Int32
Position at which the key material starts in the buffer.
len
Type: System..::..Int32
Size of the key material, up to MAX_KEY_LENGTH bytes.

See Also