package safepass

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Invalid_count of int
exception Invalid_seed of string
exception Urandom_error of exn
exception Gensalt_error
exception Bcrypt_error
type hash_t
val hash : ?count:int -> ?seed:string -> string -> hash_t
val verify : string -> hash_t -> bool
val hash_of_string : string -> hash_t
val string_of_hash : hash_t -> string