# Index of values

B
buffer [Sha512] | Return the digest of the given buffer.
buffer [Sha256] | Return the digest of the given buffer.
C
channel [Sha512] | If `len` is nonnegative, `Sha512.channel ic len` reads `len` characters from channel `ic` and returns their digest, or raises `End_of_file` if end-of-file is reached before `len` characters are read.
channel [Sha256] | If `len` is nonnegative, `Sha256.channel ic len` reads `len` characters from channel `ic` and returns their digest, or raises `End_of_file` if end-of-file is reached before `len` characters are read.
channel [Sha1] | If `len` is nonnegative, `Sha1.channel ic len` reads `len` characters from channel `ic` and returns their digest, or raises `End_of_file` if end-of-file is reached before `len` characters are read.
copy [Sha512] | Return a copy of the context.
copy [Sha256] | Return a copy of the context.
copy [Sha1] | Return a copy of the context.
E
equal [Sha512] | Returns whether two hashes are equal.
equal [Sha256] | Returns whether two hashes are equal.
equal [Sha1] | Returns whether two hashes are equal.
F
file [Sha512] | Return the digest of the file whose name is given.
file [Sha256] | Return the digest of the file whose name is given.
file [Sha1] | Return the digest of the file whose name is given.
file_fast [Sha512] | Return the digest of the file whose name is given using fast C function.
file_fast [Sha256] | Return the digest of the file whose name is given using fast C function.
file_fast [Sha1] | Return the digest of the file whose name is given using fast C function.
finalize [Sha512] | Finalize the context and return digest.
finalize [Sha256] | Finalize the context and return digest.
finalize [Sha1] | Finalize the context and return digest.
I
init [Sha512] | Create a new context.
init [Sha256] | Create a new context.
init [Sha1] | Create a new context.
input [Sha512] | Read a digest from the given input channel.
input [Sha256] | Read a digest from the given input channel.
input [Sha1] | Read a digest from the given input channel.
O
of_bin [Sha512] | Sha512.of_bin digest converts the binary representation of a digest to the internal representation of Sha512.t.
of_bin [Sha256] | Sha256.of_bin digest converts the binary representation of a digest to the internal representation of Sha256.t.
of_bin [Sha1] | Sha1.of_bin digest converts the binary representation of a digest to the internal representation of Sha1.t.
of_hex [Sha512] | Sha512.of_hex digest converts the hexadecimal representation of a digest to the internal representation of Sha512.t.
of_hex [Sha256] | Sha256.of_hex digest converts the hexadecimal representation of a digest to the internal representation of Sha256.t.
of_hex [Sha1] | Sha1.of_hex digest converts the hexadecimal representation of a digest to the internal representation of Sha1.t.
output [Sha512] | Write a digest on the given output channel.
output [Sha256] | Write a digest on the given output channel.
output [Sha1] | Write a digest on the given output channel.
S
string [Sha512] | Return the digest of the given string.
string [Sha256] | Return the digest of the given string.
string [Sha1] | Return the digest of the given string.
substring [Sha512] | `Sha512.substring s ofs len` returns the digest of the substring of `s` starting at character number `ofs` and containing `len` characters.
substring [Sha256] | `Sha256.substring s ofs len` returns the digest of the substring of `s` starting at character number `ofs` and containing `len` characters.
substring [Sha1] | `Sha1.substring s ofs len` returns the digest of the substring of `s` starting at character number `ofs` and containing `len` characters.
T
to_bin [Sha512] | Return a binary representation of the given digest.
to_bin [Sha256] | Return a binary representation of the given digest.
to_bin [Sha1] | Return a binary representation of the given digest.
to_hex [Sha512] | Return a printable hexadecimal representation of the given digest.
to_hex [Sha256] | Return a printable hexadecimal representation of the given digest.
to_hex [Sha1] | Return a printable hexadecimal representation of the given digest.
U
unsafe_update_substring [Sha512] | `Sha512.unsafe_update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
unsafe_update_substring [Sha256] | `Sha256.unsafe_update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
unsafe_update_substring [Sha1] | `Sha1.unsafe_update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
update_buffer [Sha512] | `Sha512.update_buffer ctx a` updates the context with `a`.
update_buffer [Sha256] | `Sha256.update_buffer ctx a` updates the context with `a`.
update_buffer [Sha1] | `Sha1.update_buffer ctx a` updates the context with `a`.
update_string [Sha512] | `Sha512.update_string ctx s` updates the context with `s`.
update_string [Sha256] | `Sha256.update_string ctx s` updates the context with `s`.
update_string [Sha1] | `Sha1.update_string ctx s` updates the context with `s`.
update_substring [Sha512] | `Sha512.update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
update_substring [Sha256] | `Sha256.update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
update_substring [Sha1] | `Sha1.update_substring ctx s ofs len` updates the context with the substring of `s` starting at character number `ofs` and containing `len` characters.
Z
zero [Sha512] | The zero digest.
zero [Sha256] | The zero digest.
zero [Sha1] | The zero digest.