BIP324Cipher::BIP324Cipher

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

Synopsis

Declared in <bip324.h>

BIP324Cipher(
    CKey const& key,
    std::span<std::byte const> ent32) noexcept;

Parameters

NameDescription
keyOur private key used for the ECDH key exchange.
ent3232 bytes of entropy used to encode our public key.