libsecp256k1-bitcoin-cash 0.22.1 Optimized C library for EC operations on curve secp256k1

Optimized C library for cryptographic operations on curve secp256k1.

This library is used for consensus critical cryptographic operations on the Bitcoin Cash network.


  • secp256k1 ECDSA signing/verification and key generation.

  • secp256k1 Schnorr signing/verification (Bitcoin Cash Schnorr variant).

  • Additive and multiplicative tweaking of secret/public keys.

  • Serialization/parsing of secret keys, public keys, signatures.

  • Constant time, constant memory access signing and pubkey generation.

  • Derandomized ECDSA (via RFC6979 or with a caller provided function).

  • Very efficient implementation.

  • Suitable for embedded systems.

  • Optional module for public key recovery.

  • Optional module for ECDH key exchange (experimental).

  • Optional module for multiset hash (experimental).