rand-bytes

Crates.iorand-bytes
lib.rsrand-bytes
version0.2.0
sourcesrc
created_at2017-04-17 08:21:02.429347
updated_at2018-09-12 01:35:05.440548
descriptionA simple tool to generate cryptographically secure random bytes using a cryptographic pseudo-random number generator.
homepagehttps://github.com/lawliet89/rand-bytes
repositoryhttps://github.com/lawliet89/rand-bytes
max_upload_size
id10922
size16,609
Yong Wen Chua (lawliet89)

documentation

README

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

Commit count: 6

cargo fmt