Crypto Lib
    Preparing search index...

    Type Alias HpkeKem

    HpkeKem: "x25519" | "p256" | "x-wing" | "x25519-ml-kem-768"

    KEM algorithm identifier.

    const kem: HpkeKem = "x-wing";
    

    "x-wing" is X-Wing (KEM 0x647A in IANA's HPKE registry), the X25519 + ML-KEM-768 hybrid other HPKE implementations offer. "x25519-ml-kem-768" is crypto-service's earlier hybrid, which labelled itself 0x0030 (the registry's X25519Kyber768Draft00) and interoperates with nothing else: use it only to open messages sealed before 0.0.36.