sentc_crypto_std_keys/
lib.rs

1#![no_std]
2#![allow(clippy::infallible_destructuring_match, clippy::tabs_in_doc_comments, clippy::from_over_into)]
3
4extern crate alloc;
5
6use rand_core::{CryptoRng, OsRng, RngCore};
7
8pub mod core;
9#[cfg(feature = "wrapper")]
10pub mod util;
11
12fn get_rand() -> impl CryptoRng + RngCore
13{
14	#[cfg(feature = "default_env")]
15	OsRng
16}