solana_sdk::hash

Function new_rand

Source
pub fn new_rand<R>(rng: &mut R) -> Hash
where R: Rng + ?Sized,
Expand description

random hash value for tests and benchmarks.