Module bitcoin::util::key

source ·
Expand description

Bitcoin keys.

This module provides keys used in Bitcoin that can be roundtrip (de)serialized.

Structs

Opaque data structure that holds a keypair consisting of a secret and a public key.
A Bitcoin ECDSA private key
A Bitcoin ECDSA public key
An x-only public key, used for verification of Schnorr signatures and serialized according to BIP-340.

Enums

A key-related error.