package secp256k1

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.zip
sha256=113f4a695a95505128cfb9341e00d3c871ab2586efe818580e9a2b249a5bdcd8
md5=4a4a3f162fe0e9ab409ab6176133d0f3

doc/secp256k1/Secp256k1/Secret/index.html

Module Secp256k1.Secret

type t

Opaque type of a valid ECDSA secret key.

val compare : t -> t -> int
val of_bytes : Context.t -> buffer -> t option
val of_bytes_exn : Context.t -> buffer -> t

Verify an ECDSA secret key. Buffer must be 32 bytes long.

OCaml

Innovation. Community. Security.