summaryrefslogtreecommitdiffstats
path: root/stdlib/digest.mli
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/digest.mli')
-rw-r--r--stdlib/digest.mli6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/digest.mli b/stdlib/digest.mli
index a9d7bc246..efc0a4773 100644
--- a/stdlib/digest.mli
+++ b/stdlib/digest.mli
@@ -32,7 +32,8 @@ val compare : t -> t -> int
specification as {!Pervasives.compare} and the implementation
shared with {!String.compare}. Along with the type [t], this
function [compare] allows the module [Digest] to be passed as
- argument to the functors {!Set.Make} and {!Map.Make}. *)
+ argument to the functors {!Set.Make} and {!Map.Make}.
+ @since 4.00.0 *)
val string : string -> t
(** Return the digest of the given string. *)
@@ -65,4 +66,5 @@ val to_hex : t -> string
val from_hex : string -> t
(** Convert a hexadecimal representation back into the corresponding digest.
Raise [Invalid_argument] if the argument is not exactly 32 hexadecimal
- characters. *)
+ characters.
+ @since 4.00.0 *)