Crate libsecp256k1test

Crate libsecp256k1test 

Source
Expand description

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

Modules§

curve
Curve related structs.
util
Utilities to manipulate the secp256k1 curve parameters.

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.
SharedSecret
Shared secret using ECDH.
Signature
An ECDSA signature.

Enums§

Error
PublicKeyFormat
Format for public key parsing.

Statics§

ECMULT_CONTEXT
A static ECMult context.

Functions§

recover
Recover public key from a signed message.
recover_with_context
Recover public key from a signed message, using the given context.