Crypto Lib
    Preparing search index...

    Interface HpkeSuiteOptions

    Cipher suite selection for HPKE.

    const suite: HpkeSuiteOptions = { kem: "x25519", aead: "aes-128-gcm" };
    
    interface HpkeSuiteOptions {
        kem?: HpkeKem;
        aead?: HpkeAead;
    }
    Index
    kem?: HpkeKem

    KEM algorithm (default: "x25519").

    aead?: HpkeAead

    AEAD algorithm (default: "chacha20-poly1305").