AesGcm Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 7.0.9083)
Represents the AES-GCM cryptographic operation.
Syntax
public class AesGcm : IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
AesGcm(Byte[]) | Initializes new AesGcm instance with the provided key. |
Fields
Name | Description |
---|---|
KeyByteSizes | Gets the key sizes (in bytes) supported by this instance. |
NonceByteSizes | Gets the nonce sizes (in bytes) supported by this instance. |
TagByteSizes | Gets the tag sizes (in bytes) supported by this instance. |
Methods
Name | Description |
---|---|
Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) | Decrypts ciphertext data and validates the authentication tag. |
Dispose() | Releases the resources used by the current instance. |
Dispose(Boolean) | Releases the unmanaged resources used by the current instance and optionally releases the managed resources. |
Encrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) | Encrypts plaintext data and computes the authentication tag. |