Initializes new AesGcm instance with the provided key.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	key As Byte() _
)
C#
public AesGcm(
	byte[] key
)

Parameters

key
Type: array<System..::..Byte>[]()[][]
The secret key to be used by this instance (check KeyByteSizes for valid key sizes).

Remarks

The key value is copied into

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also