chloride.core

Members

Classes

SodiumException
class SodiumException

Exception class for errors that happen in libsodium.

Functions

enforceSodium
void enforceSodium(bool condition, string file = __FILE__, size_t line = __LINE__)

enforce a condition, and if it fails throw a SodiumException with a message retrieved from the errno.

Meta