cat_gateway::utils::blake2b_hash

Function blake2b_128

source
pub(crate) fn blake2b_128(input_bytes: &[u8]) -> [u8; 16]
Expand description

Computes a BLAKE2b-128 hash of the input bytes.

§Arguments

  • input_bytes: A slice of bytes to be hashed.

§Returns

An array containing the BLAKE2b-128 hash of the input bytes.