Function solana_sdk::hash::new_rand

source ยท
pub fn new_rand<R>(rng: &mut R) -> Hash
where R: Rng + ?Sized,
๐Ÿ‘ŽDeprecated since 1.17.0: Please use Hash::new_unique() for testing, or fill 32 bytes with any source of randomness
Expand description

Random hash value for tests and benchmarks.