Crate tiny_ec

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.
extend
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.
SecretKey
Secret key (256-bit) on a secp256k1 curve.
Signature
An ECDSA signature.

Enums§

Error
PublicKeyFormat
Format for public key parsing.

Statics§

ECMULT_CONTEXT
A static ECMult context.
ECMULT_GEN_CONTEXT
A static ECMultGen context.