package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type sk = Bytes.t
type pk = Curve.t
type signature = {
  1. r : Curve.t;
  2. s : bool list;
}
type msg = Bytes.t
val point_of_compressed_bytes_opt : Bytes.t -> Curve.t option
val point_of_compressed_bytes_exn : Bytes.t -> Curve.t
val scalar_of_bytes_exn : Bytes.t -> bool list
val neuterize : sk -> pk
val sign : sk -> msg -> signature
val verify : msg -> pk -> signature -> bool
OCaml

Innovation. Community. Security.