package plebeia

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

Module Plebeia.HashSource

Sourcemodule Prefix : sig ... end
Sourcetype t = Prefix.t * string

Long hash, hash with a postfix string for Extenders

Sourceval encoding : int -> t Data_encoding.t

Encoding. The length of the prefix is given by the argument:

<- fixed length -> <1B> <-- len bytes --> +------------------+----+-----------------+ | hash prefix |len | postfix string | +------------------+----+-----------------+

Sourceval to_hex_string : t -> string
Sourceval pp : Format.formatter -> t -> unit
Sourceval of_prefix : Prefix.t -> t
Sourceval prefix : t -> Prefix.t
Sourceval is_long : t -> bool

true with non empty postfix

Sourceval to_strings : t -> string list
Sourcemodule Hasher : sig ... end
OCaml

Innovation. Community. Security.