pub fn generate_bytes(&mut self, nbytes: usize) -> Result<Vec<u8>> {
        let random_bytes = self
            .basic_client
            .psa_generate_random(nbytes)
            .map_err(convert_error)?;

        Ok(random_bytes)
    }
/// Generates `nbytes` worth of random bytes.
Generates `nbytes` worth of random bytes.
Generates ` nbytes ` worth of random bytes .
pub fn generate_bytes(&mut self, nbytes: usize) -> Result<Vec<u8>> {
        let random_bytes = self
            .basic_client
            .psa_generate_random(nbytes)
            .map_err(convert_error)?;
        Ok(random_bytes)
    }
pub fn generate_bytes ( & mut self , nbytes : usize ) -> Result < Vec < u8 > > { let random_bytes = self . basic_client . psa_generate_random ( nbytes ) . map_err ( convert_error ) ? ; Ok ( random_bytes ) }
Generates `nbytes` worth of random bytes.
Generates ` nbytes ` worth of random bytes .
&mut self
nbytes
usize
&mut self
nbytes
usize