Function solana_sdk::hash::new_rand
source ยท pub fn new_rand<R>(rng: &mut R) -> Hash
๐Deprecated since 1.17.0: Please use
Hash::new_unique()
for testing, or fill 32 bytes with any source of randomnessExpand description
Random hash value for tests and benchmarks.