package awa

  1. Overview
  2. Docs
type t =
  1. | Plaintext
  2. | Md5
  3. | Md5_96
  4. | Sha1
  5. | Sha1_96
  6. | Sha2_256
  7. | Sha2_512
type key = {
  1. hmac : t;
  2. key : string;
}
val to_string : t -> string
val of_string : string -> (t, string) Stdlib.result
val digest_len : t -> int
val key_len : t -> int
val known : string -> bool
val preferred : t list
val hmacv : t -> key:string -> Stdlib.String.t list -> string
OCaml

Innovation. Community. Security.