Constructors
Synopses
Declared in <bip324.h>
No default constructor; keys must be provided to create a BIP324Cipher.
BIP324Cipher() = delete;
Initialize a BIP324 cipher with specified key and encoding entropy (testing only).
BIP324Cipher(
CKey const& key,
std::span<std::byte const> ent32) noexcept;
Initialize a BIP324 cipher with specified key (testing only).
BIP324Cipher(
CKey const& key,
EllSwiftPubKey const& pubkey) noexcept;
Parameters
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. |
Created with MrDocs