package cryptodbm

  1. Overview
  2. Docs
val max_subtable : int
type location =
  1. | Table_Builtin
  2. | Subtable_Builtin of int
  3. | Subtable_User of int
val loc2s : location -> string
val loc2hash : location -> string
type !'a howstored =
  1. | Uncrypted
  2. | Encrypted of 'a
type hidden
type key_kind = private {
  1. key_loc : location;
  2. key_how : (Cipher.passwd * Cipher.passwd * int) howstored;
  3. cryptf : hidden;
}
type data_kind = private {
  1. data_how : (Cipher.passwd * int) howstored;
}
val mk_data : (Cipher.passwd * int) howstored -> data_kind
type encoded_key
type encoded_data
val cmp_encoded_key : encoded_key -> encoded_key -> int
val encode_key : string -> key_kind -> encoded_key
val encode_data : string -> data_kind -> encoded_data
val decode_data : encoded_data -> data_kind -> string
val get_key_info : Cipher.passwd -> subt_pas:(int -> Cipher.passwd) -> encoded_key -> (key_kind * string option) option
val sign_encoded_key : Cipher.passwd -> encoded_key -> string
val sign_encoded_data : Cipher.passwd -> encoded_data -> string
module LowerDB : sig ... end
val encodedkey2s : encoded_key -> string
val encodeddata2s : encoded_data -> string
val s2encodedkey : string -> encoded_key
val s2encodeddata : string -> encoded_data
OCaml

Innovation. Community. Security.