Skip to content

EncryptOptions

Defined in: packages/filecoin-encryption-envelope/src/aes-gcm.ts:29

Options for one whole-object AES-256-GCM encryption.

optional appMetadata?: Record<string, CborValue>

Defined in: packages/filecoin-encryption-envelope/src/aes-gcm.ts:34

Authenticated application metadata carried without interpretation.


cek: Uint8Array

Defined in: packages/filecoin-encryption-envelope/src/aes-gcm.ts:31

Exactly 32 bytes and not all-zero. The caller owns its lifecycle and reuse policy.


optional contentType?: string | number

Defined in: packages/filecoin-encryption-envelope/src/aes-gcm.ts:32