BIP324Cipher::BIP324Cipher

Initialize a BIP324 cipher with specified key (testing only).

Synopsis

Declared in <bip324.h>

BIP324Cipher(
    CKey const& key,
    EllSwiftPubKey const& pubkey) noexcept;

Parameters

NameDescription
keyOur private key used for the ECDH key exchange.
pubkeyOur precomputed ElligatorSwift-encoded public key.