package mec

  1. Overview
  2. Docs
Mec - Mini Elliptic Curve library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-ec-0.1.0.tar.bz2
md5=7c68b531c8011b5d032f0a0d8523e8c5
sha512=f428751c5f2b7c7fc07548551bea0277c9c8c32c1052aecf22787188e7678939dbb091844e29178b2819d724cf843c65774d9211c0a0ede5bf71caff3f2dd1bc

doc/mec.hash/Mec_hash/Poseidon_core/Make/Hash/index.html

Module Make.HashSource

Sourcetype scalar = Scalar.t
Sourcetype ctxt
Sourceval init : ?input_length:int -> unit -> ctxt

Initialize a raw hash context

Sourceval digest : ctxt -> scalar array -> ctxt

digest ctxt input computes the hash of the given input

Sourceval get : ctxt -> scalar

get ctxt returns the resulting point after hash has been called

OCaml

Innovation. Community. Security.