Crypto SDK
    Preparing search index...

    Interface HpkeSealParams

    Parameters for POST /v2/hpke/seal.

    interface HpkeSealParams {
        recipientPublicKey: string;
        plaintext: string;
        kem?: HpkeKem;
        aead?: HpkeAead;
        info?: string;
        aad?: string;
        psk?: string;
        pskId?: string;
    }
    Index
    recipientPublicKey: string

    Hex-encoded recipient public key.

    plaintext: string

    Plaintext message (UTF-8 string or hex).

    kem?: HpkeKem

    KEM algorithm (defaults to "x-wing").

    aead?: HpkeAead

    AEAD algorithm (defaults to "chacha20-poly1305").

    info?: string

    Optional application-specific info string.

    aad?: string

    Optional additional authenticated data (AAD).

    psk?: string

    Optional pre-shared key (hex).

    pskId?: string

    Optional pre-shared key identifier (hex or string).