class HybridkemX25519Kyber768
extends Hybridkem
import { HybridkemX25519Kyber768 } from "https://deno.land/x/hpke@1.2.9/src/kems/hybridkemX25519Kyber768.ts";
The Hybrid Post-Quantum KEM (X25519, Kyber768).
This class is implemented using pqc-kyber.
The instance of this class can be specified to the CipherSuiteParams as follows:
Examples
Example 1
Example 1
import { Aes128Gcm, CipherSuite, HkdfSha256 } from "http://deno.land/x/hpke/core/mod.ts";
import { HybridkemX25519Kyber768 } from "https://deno.land/x/hpke/x/hybridkem-x25519-kyber768/mod.ts";
const suite = new CipherSuite({
kem: new HybridkemX25519Kyber768(),
kdf: new HkdfSha256(),
aead: new Aes128Gcm(),
});
Properties
readonly
id: KemId