Function init

Source
pub fn init() -> bool
Expand description

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

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