package octez-proto-libs

  1. Overview
  2. Docs
On This Page
  1. Hash Types
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Make.SSource

Sourcemodule type T = sig ... end

Generic interface for a datatype with comparison, pretty-printer and serialization functions.

Sourcemodule type HASHABLE = sig ... end

Generic interface for a datatype with comparison, pretty-printer, serialization functions and a hashing function.

Hash Types

The signature of an abstract hash type, as produced by functor Make_SHA256. The t type is abstracted for separating the various kinds of hashes in the system at typing time. Each type is equipped with functions to use it as is of as keys in the database or in memory sets and maps.

Sourcemodule type MINIMAL_HASH = sig ... end
Sourcemodule type RAW_DATA = sig ... end
Sourcemodule type B58_DATA = sig ... end
Sourcemodule type ENCODER = sig ... end
Sourcemodule type INDEXES_SET = sig ... end
Sourcemodule type INDEXES_MAP = sig ... end
Sourcemodule type INDEXES = sig ... end
Sourcemodule type HASH = sig ... end
Sourcemodule type MERKLE_TREE = sig ... end
Sourcemodule type SIGNATURE_PUBLIC_KEY_HASH = sig ... end
Sourcemodule type SIGNATURE_PUBLIC_KEY = sig ... end
Sourcemodule type SIGNATURE = sig ... end
Sourcemodule type FIELD = sig ... end
Sourcemodule type PRIME_FIELD = sig ... end

Module type for the prime fields GF(p)

Sourcemodule type CURVE = sig ... end
Sourcemodule type PAIRING = sig ... end
OCaml

Innovation. Community. Security.