package cryptohash

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Cryptohash_sha512
type ctx
type t
val init : unit -> ctx
val string : string -> t
val bytes : Bytes.t -> t
val buffer : buf -> t
val unsafe_update_substring : ctx -> string -> int -> int -> unit
val unsafe_update_subbytes : ctx -> Bytes.t -> int -> int -> unit
val unsafe_update_subbuffer : ctx -> buf -> int -> int -> unit
val update_substring : ctx -> string -> int -> int -> unit
val update_subbytes : ctx -> Bytes.t -> int -> int -> unit
val update_subbuffer : ctx -> buf -> int -> int -> unit
val update_string : ctx -> string -> unit
val update_bytes : ctx -> Bytes.t -> unit
val update_buffer : ctx -> buf -> unit
val finalize : ctx -> t
val copy : ctx -> ctx
val substring : string -> int -> int -> t
val subbytes : Bytes.t -> int -> int -> t
val subbuffer : buf -> int -> int -> t
val channel : in_channel -> int -> t
val file : string -> t
val file_fast : string -> t
val output : out_channel -> t -> unit
val input : in_channel -> t
val to_bin : t -> Bytes.t
val to_hex : t -> string
val from_hex : string -> t
val from_bin : Bytes.t -> t
OCaml

Innovation. Community. Security.