package cryptodbm

  1. Overview
  2. Docs

Module Cryptodbm_internals.KindsSource

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

Innovation. Community. Security.