Crate secp256k1 [] [src]

Secp256k1

Rust bindings for Pieter Wuille's secp256k1 library, which is used for fast and accurate manipulation of ECDSA signatures on the secp256k1 curve. Such signatures are used extensively by the Bitcoin network and its derivatives.

Re-exports

pub use key::SecretKey;
pub use key::PublicKey;

Modules

constants

Constants

ecdh

ECDH

ffi

FFI bindings

key

Public and secret keys

schnorr

Schnorr signatures

Structs

Message

A (hashed) message input to an ECDSA signature

RecoverableSignature

An ECDSA signature with a recovery ID for pubkey recovery

RecoveryId

A tag used for recovering the public key from a compact signature

Secp256k1

The secp256k1 engine, used to execute all signature operations

Signature

An ECDSA signature

Enums

ContextFlag

Flags used to determine the capabilities of a Secp256k1 object; the more capabilities, the more expensive it is to create.

Error

An ECDSA error