Module schnorr

Expand description

Schnorr Bitcoin keys.

This module provides Schnorr keys used in Bitcoin, reexporting Secp256k1 Schnorr key types.

Structs§

SchnorrSig
A BIP340-341 serialized schnorr signature with the corresponding hash type.
TweakedKeyPair
Tweaked BIP-340 key pair
TweakedPublicKey
Tweaked BIP-340 X-coord-only public key

Enums§

SchnorrSigError
A schnorr sig related error.

Traits§

TapTweak
A trait for tweaking BIP340 key types (x-only public keys and key pairs).

Type Aliases§

KeyPairDeprecated
Deprecated re-export of secp256k1::KeyPair
UntweakedKeyPair
Untweaked BIP-340 key pair
UntweakedPublicKey
Untweaked BIP-340 X-coord-only public key
XOnlyPublicKeyDeprecated
Deprecated re-export of secp256k1::XOnlyPublicKey