Crate libsecp256k1_rs[][src]

Re-exports

pub use secp256k1::signature::Signature;

Modules

ecmult
schnorr
secp256k1

Pure Rust implementation of the secp256k1 curve and fast ECDSA signatures. The secp256k1 curve is used excusively in Bitcoin and Ethereum alike cryptocurrencies.

Macros

affine_const

Define an affine group element constant.

affine_storage_const

Define an affine group storage constant.

jacobian_const

Define a jacobian group element constant.

Structs

Message

Hashed message input to an ECDSA signature.

PublicKey

Public key on a secp256k1 curve.

RecoveryId

Tag used for public key recovery from signatures.

SecretKey

Secret key (256-bit) on a secp256k1 curve.

SharedSecret

Shared secret using ECDH.

Enums

Error

Functions

thread_rng

Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. thread_rng().gen::<i32>().