package sodium

  1. Overview
  2. Docs
type 'a key
type secret_key = secret key
type public_key = public key
type keypair = secret key * public key
val primitive : string
val public_key_size : int
val secret_key_size : int
val random_keypair : unit -> keypair
val wipe_key : 'a key -> unit
val equal_public_keys : public key -> public key -> bool
val equal_secret_keys : secret key -> secret key -> bool
val compare_public_keys : public key -> public key -> int
module type S = sig ... end
module Bytes : sig ... end
module Bigbytes : sig ... end
OCaml

Innovation. Community. Security.