ECDHSecret ComputeBIP324ECDHSecret(const EllSwiftPubKey &their_ellswift, const EllSwiftPubKey &our_ellswift, bool initiating) const
Compute a BIP324-style ECDH shared secret.
void Set(const T pbegin, const T pend, bool fCompressedIn)
Initialize using begin and end iterators to byte data.
RAII class initializing and deinitializing global state for elliptic curve support.
void fillrand(std::span< std::byte > output) noexcept
Fill a byte span with random bytes.