package sodium
Module Sodium
A binding to libsodium which wraps NaCl
Raised when attempting to deserialize a malformed key, nonce, or attempting to use a bad hash length.
Raised when attempting to finalize an already finalized stream state.
Phantom type indicating that the key is composed of a secret key and a public key. Such a key must be treated as a secret key.
type bigbytes =
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.tmodule Random : sig ... endmodule Box : sig ... endmodule Scalar_mult : sig ... endmodule Sign : sig ... endmodule Password_hash : sig ... endmodule Secret_box : sig ... endmodule Stream : sig ... endmodule Auth : sig ... endmodule One_time_auth : sig ... endmodule Hash : sig ... endmodule Generichash : sig ... end