pub fn generate_random_bytes(dst: *mut u8, size: usize) -> Result