pub fn hash(prefix: [u8; 4], data: &[u8]) -> Hash256
Calculate hash https://xrpl.org/basic-data-types.html#hashes of given data