# aesGcm

## Interfaces

| Interface | Description |
| ------ | ------ |
| [EncryptOptions](/reference/filoz/filecoin-encryption-envelope/namespaces/aesgcm/interfaces/encryptoptions/) | Options for one whole-object AES-256-GCM encryption. |

## Functions

| Function | Description |
| ------ | ------ |
| [decrypt](/reference/filoz/filecoin-encryption-envelope/namespaces/aesgcm/functions/decrypt/) | Authenticate and decrypt a complete scheme-1 FEE object with a supplied CEK. |
| [decryptWith](/reference/filoz/filecoin-encryption-envelope/namespaces/aesgcm/functions/decryptwith/) | Authenticate and decrypt a complete scheme-1 FEE object, recovering its CEK from a recipient via `unwrapper`. |
| [encrypt](/reference/filoz/filecoin-encryption-envelope/namespaces/aesgcm/functions/encrypt/) | Encrypt a complete plaintext as scheme 1 and return `envelope || ciphertext`. |