class Aes256Gcm
extends Aes128Gcm
import { Aes256Gcm } from "https://deno.land/x/hpke@1.2.9/src/aeads/aesGcm.ts";
The AES-256-GCM for HPKE AEAD implementing AeadInterface.
When using @hpke/core
, the instance of this class must be specified
to the aead
parameter of CipherSuiteParams instead of AeadId.Aes256Gcm
as follows:
Examples
Example 1
Example 1
import {
Aes256Gcm,
CipherSuite,
DhkemP256HkdfSha256,
HkdfSha256,
} from "http://deno.land/x/hpke/core/mod.ts";
const suite = new CipherSuite({
kem: new DhkemP256HkdfSha256(),
kdf: new HkdfSha256(),
aead: new Aes256Gcm(),
});
Properties
readonly
id: AeadIdAeadId.Aes256Gcm (0x0002)