Module Digestif.Make_BLAKE2B

Parameters

module D : sig ... end

Signature

val digest_size : int
type ctx
type t
val empty : ctx
val init : unit -> ctx
val feed_bytes : ctx -> ?off:int -> ?len:int -> Bytes.t -> ctx
val feed_string : ctx -> ?off:int -> ?len:int -> String.t -> ctx
val feed_bigstring : ctx -> ?off:int -> ?len:int -> bigstring -> ctx
val feedi_bytes : ctx -> Bytes.t iter -> ctx
val feedi_string : ctx -> String.t iter -> ctx
val feedi_bigstring : ctx -> bigstring iter -> ctx
val get : ctx -> t
val digest_bytes : ?off:int -> ?len:int -> Bytes.t -> t
val digest_string : ?off:int -> ?len:int -> String.t -> t
val digest_bigstring : ?off:int -> ?len:int -> bigstring -> t
val digesti_bytes : Bytes.t iter -> t
val digesti_string : String.t iter -> t
val digesti_bigstring : bigstring iter -> t
val digestv_bytes : Bytes.t list -> t
val digestv_string : String.t list -> t
val digestv_bigstring : bigstring list -> t
val hmac_bytes : key:string -> ?off:int -> ?len:int -> Bytes.t -> t
val hmac_string : key:string -> ?off:int -> ?len:int -> String.t -> t
val hmac_bigstring : key:string -> ?off:int -> ?len:int -> bigstring -> t
val hmaci_bytes : key:string -> Bytes.t iter -> t
val hmaci_string : key:string -> String.t iter -> t
val hmaci_bigstring : key:string -> bigstring iter -> t
val hmacv_bytes : key:string -> Bytes.t list -> t
val hmacv_string : key:string -> String.t list -> t
val hmacv_bigstring : key:string -> bigstring list -> t
val unsafe_compare : t compare
val equal : t equal
val pp : t pp
val of_hex : string -> t
val of_hex_opt : string -> t option
val consistent_of_hex : string -> t
val consistent_of_hex_opt : string -> t option
val to_hex : t -> string
val of_raw_string : string -> t
val of_raw_string_opt : string -> t option
val to_raw_string : t -> string