Function solana_program::hash::hash

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

Return a Sha256 hash for the given data.