use win_crypto_ng::random::RandomNumberGenerator;
pub mod aead;
pub mod asymmetric;
pub mod ecdh;
pub mod hash;
pub mod symmetric;
pub fn random<B: AsMut<[u8]>>(mut buf: B) {
RandomNumberGenerator::system_preferred()
.gen_random(buf.as_mut())
.expect("system-preferred RNG not to fail")
}