--- cryptokit.mli.old 2010-07-21 22:10:37.000000000 +0100 +++ cryptokit.mli 2010-07-21 22:13:09.000000000 +0100 @@ -483,6 +483,16 @@ applied to SHA-1. The returned hash values are 160 bits (20 bytes) long. The [key] argument is the MAC key; it can have any length, but a minimal length of 20 bytes is recommended. *) + val hmac_sha256: string -> hash + (** [hmac_sha256 key] returns a MAC based on the HMAC construction (RFC2104) + applied to SHA-256. The returned hash values are 256 bits (32 bytes) + long. The [key] argument is the MAC key; it can have any length, + but a minimal length of 32 bytes is recommended. *) + val hmac_ripemd160: string -> hash + (** [hmac_ripemd160 key] returns a MAC based on the HMAC construction (RFC2104) + applied to RIPEMD-160. The returned hash values are 160 bits (20 bytes) + long. The [key] argument is the MAC key; it can have any length, + but a minimal length of 20 bytes is recommended. *) val hmac_md5: string -> hash (** [hmac_md5 key] returns a MAC based on the HMAC construction (RFC2104) applied to MD5. The returned hash values are 128 bits (16 bytes)