pub fn generate_random_buffer(length: usize) -> Vec<u8> {
    let mut buf = vec![0; length];
    rand_bytes(&mut buf).unwrap();
    buf
}
/// Generates a random buffer of `length` for use in key padding.
Generates a random buffer of `length` for use in key padding.
Generates a random buffer of ` length ` for use in key padding .
pub fn generate_random_buffer(length: usize) -> Vec<u8> {
    let mut buf = vec![0; length];
    rand_bytes(&mut buf).unwrap();
    buf
}
pub fn generate_random_buffer ( length : usize ) -> Vec < u8 > { let mut buf = vec ! [ 0 length ] ; rand_bytes ( & mut buf ) . unwrap ( ) ; buf }
Generates a random buffer of `length` for use in key padding.
Generates a random buffer of ` length ` for use in key padding .
length
usize
length
usize