Module Digest


module Digest = struct ... end 
Types
t The type of digests: 16-character strings.
= string

Functions

string : string -> t
Return the digest of the given string.

substring : string -> pos:int -> len:int -> t
Digest.substring s ofs len returns the digest of the substring of s starting at character number ofs and containing len characters.

channel : Pervasives.in_channel -> len:int -> t
Digest.channel ic len reads len characters from channel ic and returns their digest.

file : string -> t
Return the digest of the file whose name is given.

output : Pervasives.out_channel -> t -> unit
Write a digest on the given output channel.

input : Pervasives.in_channel -> t
Read a digest from the given input channel.