Constructors
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...
| Name | Description |
|---|---|
| key | Our private key used for the ECDH key exchange. |
| ent32 | 32 bytes of entropy used to encode our public key. |
| pubkey | Our precomputed ElligatorSwift-encoded public key. |