Crypto Lib
    Preparing search index...

    Interface HpkeSealResult

    Result of an HPKE seal (encrypt) operation.

    const result: HpkeSealResult = hpkeSeal({ recipientPublicKey: kp.publicKey, plaintext: "48656c6c6f" });
    
    interface HpkeSealResult {
        ciphertext: string;
        encapsulatedKey: string;
    }
    Index
    ciphertext: string

    Hex-encoded ciphertext (includes AEAD auth tag).

    encapsulatedKey: string

    Hex-encoded encapsulated key (ephemeral public key).