Crypto SDK
    Preparing search index...

    Interface HpkeOpenParams

    Parameters for POST /v2/hpke/open.

    interface HpkeOpenParams {
        keyId: string;
        encapsulatedKey: string;
        ciphertext: string;
        aead?: HpkeAead;
        info?: string;
        aad?: string;
        psk?: string;
        pskId?: string;
    }
    Index
    keyId: string

    Identifier of the recipient server-held key.

    encapsulatedKey: string

    Hex-encoded encapsulated key from sender.

    ciphertext: string

    Hex-encoded ciphertext from sender.

    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).