cat_gateway::utils::blake2b_hash

Function blake2b_256

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

Computes a BLAKE2b-256 hash of the input bytes.

§Arguments

  • input_bytes: A slice of bytes to be hashed.

§Returns

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