1use solana_program::keccak::{hashv, HASH_BYTES};
23/// Returns the bytes resulting from hashing of the seeds' bytes.
4///
5/// The has is computed as the keccak256 hash of the seeds' bytes.
6pub fn compute(seeds: &[&[u8]]) -> [u8; HASH_BYTES] {
7 hashv(seeds).0
8}