pub use solana_program::hash::*; /// random hash value for tests and benchmarks. #[cfg(feature = "full")] pub fn new_rand(rng: &mut R) -> Hash where R: rand::Rng, { let mut buf = [0u8; HASH_BYTES]; rng.fill(&mut buf); Hash::new(&buf) }