package secp256k1

  1. Overview
  2. Docs
Elliptic curve library secp256k1 wrapper for Ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.zip
md5=ca8faedd0ed878652f212874e1b263fb
sha512=73f1649cde4aa3afd75d1c14e97271851c6e9b1d3797fcef0ba015cb99f2854f727dcd6166c5d62d909b805da08530135468e80fddae5d21c6a54a3fc2a7ce69

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.

Published: 27 May 2022

README

libsecp256k1 wrapper for OCaml

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.

Contributions

You can improve this wrapper by submitting a pull request.

Thanks to all contributors:

  • Vincent Bernardoff

  • Yoichi Hirai

  • Anton Trunov

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 < "5.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"

Used by (2)

  1. bip32 >= "0.2"
  2. ledgerwallet-tezos >= "0.2.1"

Conflicts

None