package cryptohash

  1. Overview
  2. Docs
hash functions for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

cryptohash-0.1.tar.gz
sha256=1b32321d72c7f56185f9dbed5c81a91e0b4a7cd7faeb755b31f0b3324bd552b1
md5=5eb9507779d265d32c61dc0d40e888c5

doc/cryptohash.legacy_sha512/Sha512/index.html

Module Sha512

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.