Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 755 Bytes

File metadata and controls

21 lines (12 loc) · 755 Bytes

Variable: AEAD_AES_128_GCM

const AEAD_AES_128_GCM: AEADFactory

AES-128-GCM Authenticated Encryption with Associated Data (AEAD).

Uses AES in Galois/Counter Mode with 128-bit keys.

Depends on the following Web Cryptography algorithms being supported in the runtime:

  • AES-GCM encryption and decryption

This is a factory function that must be passed to the CipherSuite constructor.

Tip

An implementation of this algorithm not reliant on Web Cryptography is also exported by @panva/hpke-noble

See

HPKE AEAD Identifiers