solana_sdk::hash

Function extend_and_hash

source
pub fn extend_and_hash(id: &Hash, val: &[u8]) -> Hash
Expand description

Return the hash of the given hash extended with the given value.