pub(crate) const HASH_LEN: usize = 16;
pub type HashBytes = [u8; HASH_LEN];
#[inline]
pub fn create(data: &[u8]) -> HashBytes {
#[cfg(feature = "xxhash")]
return twox_hash::XxHash3_128::oneshot(data).to_be_bytes();
#[cfg(not(feature = "xxhash"))]
return md5::compute(data).0;
}