gen_nonce

Function gen_nonce 

Source
pub fn gen_nonce() -> Nonce
Expand description

gen_nonce() randomly generates a nonce

THREAD SAFETY: gen_nonce() is thread-safe provided that you have called sodiumoxide::init() once before using any other function from sodiumoxide.