ppaass_crypto/
lib.rs

1use bytes::Bytes;
2use rand::random;
3
4pub mod crypto;
5pub mod error;
6
7pub fn random_32_bytes() -> Bytes {
8    let random_32_bytes = random::<[u8; 32]>();
9    Bytes::from(random_32_bytes.to_vec())
10}