rust-vmm / vmm-sys-util

Helpers and utilities used by multiple rust-vmm components and VMMs
BSD 3-Clause "New" or "Revised" License
78 stars 65 forks source link

Added function to generate 'N' random bytes #174

Closed vibharya closed 1 year ago

vibharya commented 1 year ago

Signed-off-by: Vibha Acharya vibharya@amazon.co.uk

Summary of the PR

Under rand there is only one function to generate 'n' alphanumeric characters. Generating 'n' random bytes is a useful and generic functionality.

Also corrected typo in existing function names.

Requirements

Before submitting your PR, please make sure you addressed the following requirements: