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

Structs

All

Represents the set of all capabilities.

Message

A (hashed) message input to an ECDSA signature

None

Represents the empty set of capabilities.

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

SignOnly

Represents the set of capabilities needed for signing.

Signature

An ECDSA signature

VerifyOnly

Represents the set of capabilities needed for verification.

Enums

Error

An ECDSA error

Traits

Signing

Marker trait for indicating that an instance of Secp256k1 can be used for signing.

Verification

Marker trait for indicating that an instance of Secp256k1 can be used for verification.