BIP324Cipher::BIP324Cipher

Constructors

Synopses

Declared in <bip324.h>

No default constructor; keys must be provided to create a BIP324Cipher.

BIP324Cipher() = delete;
» more...

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

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

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

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

Parameters

NameDescription
keyOur private key used for the ECDH key exchange.
ent3232 bytes of entropy used to encode our public key.
pubkeyOur precomputed ElligatorSwift-encoded public key.