package mec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Param : sig ... end

Signature

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