Module schnorr
Expand description
Schnorr Bitcoin keys.
This module provides Schnorr keys used in Bitcoin, reexporting Secp256k1 Schnorr key types.
Structs§
- A BIP340-341 serialized schnorr signature with the corresponding hash type.
- Tweaked BIP-340 key pair
- Tweaked BIP-340 X-coord-only public key
Enums§
- A schnorr sig related error.
Traits§
- A trait for tweaking BIP340 key types (x-only public keys and key pairs).
Type Aliases§
- KeyPair
Deprecated Deprecated re-export ofsecp256k1::KeyPair
- Untweaked BIP-340 key pair
- Untweaked BIP-340 X-coord-only public key
- XOnly
Public Key Deprecated Deprecated re-export ofsecp256k1::XOnlyPublicKey