package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Prefix : sig ... end
type t = Prefix.t * string

Long hash, hash with a postfix string for Extenders

val 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 | +------------------+----+-----------------+

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

true with non empty postfix

val to_strings : t -> string list
module Hasher : sig ... end