Create a BIP-340 Schnorr signature using this key pair.
Declared in <key.h>
[[nodiscard]]
bool
SignSchnorr(
uint256 const& hash,
std::span<unsigned char> sig,
uint256 const& aux) const;
| Name | Description |
|---|---|
| hash | The 32-byte message hash to sign. |
| sig | Output span (64 bytes) receiving the Schnorr signature. |
| aux | Additional nonce entropy. |