Function solana_sdk::keccak::hash[][src]

pub fn hash(val: &[u8]) -> Hash
Expand description

Return a Keccak256 hash for the given data.