pub fn crypto_init() -> Result<(), ()>Expand description
Run before using crypto.
Runs sodiumoxide::init().
Returns Ok on success, Err otherwise.
E.g.
use tox_crypto::crypto_init;
crypto_init().unwrap();
// second call should yield same result
crypto_init().unwrap();