Module elements::schnorr

source ·
Expand description

Schnorr Bitcoin keys.

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

Structs§

  • Opaque data structure that holds a keypair consisting of a secret and a public key.
  • A BIP340-341 serialized schnorr signature with the corresponding hash type.
  • Tweaked Schnorr key pair
  • Tweaked Schnorr public key
  • An x-only public key, used for verification of Taproot signatures and serialized according to BIP-340.

Enums§

Traits§

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

Type Aliases§