|
purify
C++ Purify implementation with native circuit and BPP support
|
Canonical BIP340 keypair derived deterministically from a packed Purify secret. More...
#include <api.hpp>
Public Member Functions | |
| Bip340Key ()=default | |
| Bip340Key (const Bip340Key &)=delete | |
| Bip340Key & | operator= (const Bip340Key &)=delete |
| Bip340Key (Bip340Key &&other) noexcept | |
| Bip340Key & | operator= (Bip340Key &&other) noexcept |
| ~Bip340Key () | |
Data Fields | |
| std::array< unsigned char, 32 > | seckey {} |
| std::array< unsigned char, 32 > | xonly_pubkey {} |
seckey is normalized to the even-Y representative corresponding to xonly_pubkey, so the returned pair is the canonical secp256k1/BIP340 encoding for this derivation.
|
default |
|
delete |
|
inlinenoexcept |
Definition at line 48 of file api.hpp.
References seckey, and xonly_pubkey.
| std::array<unsigned char, 32> purify::Bip340Key::seckey {} |
Definition at line 62 of file api.hpp.
Referenced by operator=().
| std::array<unsigned char, 32> purify::Bip340Key::xonly_pubkey {} |
Definition at line 63 of file api.hpp.
Referenced by operator=().