Crates.io | rand-bytes |
lib.rs | rand-bytes |
version | 0.2.0 |
source | src |
created_at | 2017-04-17 08:21:02.429347 |
updated_at | 2018-09-12 01:35:05.440548 |
description | A simple tool to generate cryptographically secure random bytes using a cryptographic pseudo-random number generator. |
homepage | https://github.com/lawliet89/rand-bytes |
repository | https://github.com/lawliet89/rand-bytes |
max_upload_size | |
id | 10922 |
size | 16,609 |
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.
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.
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