Secp256k1
Types
Functions
Convert a compact ECDSA signature (64 bytes) to a der-encoded ECDSA signature.
Recover a public key from an ECDSA signature.
Negate the given private key.
Tweak a private key by adding tweak to it.
Tweak a private key by multiplying it by a tweak.
Add a number of public keys together. Returns the uncompressed public key (65 bytes).
Serialize a public key to compact form (33 bytes).
Get the public key corresponding to the given private key. Returns the uncompressed public key (65 bytes).
Negate the given public key. Returns the uncompressed public key (65 bytes).
Parse a serialized public key. Returns the uncompressed public key (65 bytes).
Tweak a public key by adding tweak times the generator to it. Returns the uncompressed public key (65 bytes).
Tweak a public key by multiplying it by a tweak value. Returns the uncompressed public key (65 bytes).
Verify the validity of a private key.
Convert an ECDSA signature to a normalized lower-S form (bitcoin standardness rule). Returns the normalized signature and a boolean set to true if the input signature was not normalized.
Create a Schnorr signature.
Verify a Schnorr signature.