class DhkemP384HkdfSha384
extends DhkemP384HkdfSha384Native
import { DhkemP384HkdfSha384 } from "https://deno.land/x/hpke@1.2.9/core/src/native.ts";
The DHKEM(P-384, HKDF-SHA384) for HPKE KEM implementing KemInterface.
When using @hpke/core
, the instance of this class must be specified
to the kem
parameter of CipherSuiteParams instead of KemId.DhkemP384HkdfSha384
as follows:
Examples
Example 1
Example 1
import {
Aes128Gcm,
CipherSuite,
DhkemP384HkdfSha384,
HkdfSha384,
} from "http://deno.land/x/hpke/core/mod.ts";
const suite = new CipherSuite({
kem: new DhkemP384HkdfSha384(),
kdf: new HkdfSha384(),
aead: new Aes128Gcm(),
});