2 unstable releases
Uses old Rust 2015
0.2.0 | Sep 12, 2018 |
---|---|
0.1.0 | Apr 17, 2017 |
#42 in #secure-random
7KB
81 lines
rand-bytes
A simple tool to generate cryptographically secure random bytes using a cryptographic pseudo-random number generator.
Internally, rand-bytes
uses ring
's random number generator.
Usage
Install this with cargo:
cargo install rand-bytes
Or download one of the releases.
If your architecture/OS is not supported, you can simply build it yourself.
Command line options
Generate some random bytes
USAGE:
rand-bytes [OPTIONS] <SIZE>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-o, --output <FILE> Specify a file to output the bytes to, rather than stdout
ARGS:
<SIZE> Sets the number of bytes to generate random values for
Dependencies
~7.5MB
~224K SLoC