vec_to_arr

Function vec_to_arr 

Source
pub fn vec_to_arr<const N: usize>(master_key_vec: Vec<u8>) -> [u8; N]
Expand description

This is a simple helper function, used for converting the 32-byte master key Vec<u8>s to [u8; 32]