package octez-libs

  1. Overview
  2. Docs

Parameters

module Ec : sig ... end
module Param : sig ... end

Signature

type secret_key = Ec.Scalar.t
type public_key = Ec.t
type signature
val signature_to_bytes : signature -> Bytes.t
val sign : secret_key -> Bytes.t -> signature
val sign_deterministic : Bytes.t -> secret_key -> Bytes.t -> signature
val verify : public_key -> Bytes.t -> signature -> bool
OCaml

Innovation. Community. Security.