1(* ========================================================================= *)
2(* MD5 cryptographic hashing in SML                                          *)
3(* Copyright (C) 2001 Daniel Wang. All rights reserved.                      *)
4(* Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm.    *)
5(* ========================================================================= *)
6
7signature MD5 =
8sig
9
10  type md5state
11
12  val init : md5state
13  val update : (md5state * Word8Vector.vector) -> md5state
14  val final : md5state -> Word8Vector.vector
15  val toHexString : Word8Vector.vector -> string
16  val toBase64String : Word8Vector.vector -> string
17
18end
19