asjeeves-encryption 0.1.0

Encryption and Key utilities.
Documentation
1
2
3
4
5
6
7
8
9
use uuid::Uuid;

pub fn generate_nonce() -> Box<str> {
    let nonce = Uuid::now_v7();

    let nonce = nonce.to_string();

    nonce.into_boxed_str()
}