package nocoiner

  1. Overview
  2. Docs
A Commitment Scheme library for Coin Flipping/Tossing algorithms and sort

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
sha256=3ad7aacefbb012544e43003bed7086cea77cd124ef5262485bc2fb33c5063b45

doc/nocoiner/Nocoiner/index.html

Module NocoinerSource

A Commitment Scheme library for Coin Flipping/Tossing algorithms and sort.

  • author marcoonroad
  • version 0.0.1
Sourcemodule Reasons : sig ... end
Sourceval commit : string -> string * string

Operation which generates both a commitment box and an opening key, respectively, from a secret input. This operation is non-deterministic in the sense of producing different pairs every time it is invoked, no matter if the input is always the same.

Sourceval reveal : commitment:string -> opening:string -> string

Operation which generates the original secret from given commitment and opening. Fails if the opening key is not linked to the commitment. This operation is deterministic, no matter how much time you call that, it will always produce the same result (or failure).

OCaml

Innovation. Community. Security.