Function indy_crypto::cl::new_nonce[][src]

pub fn new_nonce() -> Result<Nonce, IndyCryptoError>

Creates random nonce

Example

use indy_crypto::cl::new_nonce;

let _nonce = new_nonce().unwrap();