package omod
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=cab9e8ab6ca6e836fdaa3dcf9552d31e4de2bf069fcab096c1565d204ff91fc3516cd017a13702d749580bd3563c462db3277ab036cfc5d3cb9703a08ddbb927
doc/omod.support/Omod_support/Digest/BLAKE512/index.html
Module Digest.BLAKE512
BLAKE512 is the BLAKE2b hash function producing 512-bit (64-byte) digests. It is cryptographically secure, and the digests are large enough to thwart brute-force attacks.
Compare two digests, with the same specification as Stdlib.compare.
val string : string -> tReturn the digest of the given string.
val bytes : bytes -> tReturn the digest of the given byte sequence.
val substring : string -> int -> int -> tsubstring s ofs len returns the digest of the substring of s starting at index ofs and containing len characters.
val subbytes : bytes -> int -> int -> tsubbytes s ofs len returns the digest of the subsequence of s starting at index ofs and containing len bytes.
val channel : in_channel -> int -> tRead characters from the channel and return their digest. See Digest.channel for the full specification.
val file : string -> tReturn the digest of the file whose name is given.
val output : out_channel -> t -> unitWrite a digest on the given output channel.
val input : in_channel -> tRead a digest from the given input channel.
val to_hex : t -> stringReturn the printable hexadecimal representation of the given digest.
val of_hex : string -> tConvert a hexadecimal representation back into the corresponding digest.