#include "sodium_helpers.h" #include #include namespace BareMinimumCrypto { void try_sodium_init () { if (sodium_init () < 0) { throw std::runtime_error ("Can't initialize libsodium"); } } }