Function shuttle_core::crypto::init [] [src]

pub fn init() -> bool

Initialize the sodium library and chooses faster version of the primitives if possible.

init also makes KeyPair::random() thread-safe.