Function gear_core::ids::hash_of_array
source · pub fn hash_of_array<T: AsRef<[u8]>, const N: usize>(array: [T; N]) -> [u8; 32]
Expand description
Creates a unique identifier by passing given argument to blake2b hash-function.
pub fn hash_of_array<T: AsRef<[u8]>, const N: usize>(array: [T; N]) -> [u8; 32]
Creates a unique identifier by passing given argument to blake2b hash-function.