AesGcmEncryptParameters interface

Encryption parameters for AES-GCM encryption algorithms.

Properties

additionalAuthenticatedData

Optional data that is authenticated but not encrypted.

algorithm

The encryption algorithm to use.

plaintext

The plain text to encrypt.

Property Details

additionalAuthenticatedData

Optional data that is authenticated but not encrypted.

additionalAuthenticatedData?: Uint8Array

Property Value

Uint8Array

algorithm

The encryption algorithm to use.

algorithm: AesGcmEncryptionAlgorithm

Property Value

plaintext

The plain text to encrypt.

plaintext: Uint8Array

Property Value

Uint8Array