summaryrefslogtreecommitdiff
path: root/stdlib/digest.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-11-15 16:40:44 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-11-15 16:40:44 +0000
commitd8ef906acad8fee2bb27127d9befeaf1dcec7141 (patch)
treeb229f4aa8b13757dc697e990b6cb4efc66b6b654 /stdlib/digest.mli
parentee7a823fd4d64e1a27b65d7b8424185e53782a49 (diff)
downloadocaml-d8ef906acad8fee2bb27127d9befeaf1dcec7141.tar.gz
Digest: documentation revue.
Random: meilleure implementation de Random.int et de Random.init. Makefile: Random utilise Digest. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/digest.mli')
-rw-r--r--stdlib/digest.mli9
1 files changed, 3 insertions, 6 deletions
diff --git a/stdlib/digest.mli b/stdlib/digest.mli
index da67f9c712..c5b5de4982 100644
--- a/stdlib/digest.mli
+++ b/stdlib/digest.mli
@@ -14,9 +14,9 @@
(* Module [Digest]: MD5 message digest *)
(* This module provides functions to compute 128-bit ``digests'' of
- arbitrary-length strings or files, with a very low probability that
- two different strings will have the same digest. The algorith used
- is MD5. *)
+ arbitrary-length strings or files. The digests are cryptographic
+ quality: it is very hard, given a digest, to forge a string having
+ that digest. The algorithm used is MD5. *)
type t = string
(* The type of digests: 16-character strings. *)
@@ -35,6 +35,3 @@ val output: out_channel -> t -> unit
(* Write a digest on the given output channel. *)
val input: in_channel -> t
(* Read a digest from the given input channel. *)
-
-
-