solana_sdk::keccak

Function hash

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

Return a Keccak256 hash for the given data.