package secp256k1

All checked builds pass
  1. Overview
  2. Docs
Elliptic curve library secp256k1 wrapper for Ocaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.5.0.tar.gz
md5=4e178cc15d4a913382595190c24697a9
sha512=01196acbec5be1d11f12ab3afe3636071501b95b5c8b10eba95f2dddb97ad1938577dfa556df798ec5dda4c063157290110bae2999fa4bcd9ce8bca1d967f7c2

Description

This library wrap the secp256k1 EC(DSA) library into an OCaml library. At the moment only a subset of functionalities are available:

  • Context: create, clone, destroy, randomize
  • Elliptic curve: public key creation
  • ECDSA: verify, sign, recover

All exchanged data (pubkey, signature, seckey) are represented as hex strings.

Added to opam-repository:

README

libsecp256k1 wrapper for OCaml

CI Status Opam package MIT License

This library wrap the secp256k1 EC(DSA) library into an OCaml library. At the moment only a subset of functionalities are available:

  • Context: create, clone, destroy, randomize
  • Elliptic curve: public key creation
  • ECDSA: verify, sign, recover
  • Schnorr signatures and xonly public keys

All exchanged data (pubkey, signature, seckey) are represented as hex strings.

Contributions

You can improve this wrapper by submitting a pull request.

Thanks to all contributors:

  • Vincent Bernardoff
  • Yoichi Hirai
  • Anton Trunov
  • ygrek

License

Read the LICENSE file.

Donation

BTC: 13TRVwiqLMveg9aPAmZgcAix5ogKVgpe4T

Dependencies (7)

  1. conf-secp256k1
  2. base-bigarray
  3. dune-configurator build & >= "1.0"
  4. stdio build & >= "v0.9.0"
  5. base build & >= "v0.12.0"
  6. dune >= "1.0"
  7. ocaml >= "4.12.0"

Dev Dependencies (3)

  1. odoc with-test & >= "1.3.0"
  2. alcotest with-test & >= "0.8.1"
  3. hex with-test & >= "1.1.1"

Optional Dependencies

None

Used by (1)

  1. bip32 >= "0.2"

Conflicts

None

Build status

Results of building secp256k1 with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.5.0 (this version) n/a good good good good
0.4.4 good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure