Crypto Lib
    Preparing search index...

    Interface HpkeOpenResult

    Result of an HPKE open (decrypt) operation.

    const result: HpkeOpenResult = hpkeOpen({ recipientPrivateKey: kp.privateKey, encapsulatedKey: sealed.encapsulatedKey, ciphertext: sealed.ciphertext });
    
    interface HpkeOpenResult {
        plaintext: string;
    }
    Index
    plaintext: string

    Hex-encoded decrypted plaintext.