pub struct Secp256k1Context { /* private fields */ }

Implementations

Trait Implementations

Returns the algorithm name.

Sign a message Given a private key for this algorithm, sign the given message bytes and return a hex-encoded string of the resulting signature. Read more

Verifies that the signature of a message was produced with the associated public key. Read more

Produce the public key for the given private key. Read more

Generates a new random PrivateKey using this context. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.