//! Utilities that provide randomness.
//! Note that this currently uses the rand crate and should be moved to a more
//! secure alternative.
//!
use ;
use OsRng;
/// Generate a random byte vector of length `len`.
/// *PANICS* if randomness generation fails.
/// Generate a random array.
/// *PANICS* if randomness generation fails.