Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lawliet89/rand-bytes

A simple tool to generate cryptographically secure random bytes using a cryptographic pseudo-random number generator.
https://github.com/lawliet89/rand-bytes

Last synced: about 1 month ago
JSON representation

A simple tool to generate cryptographically secure random bytes using a cryptographic pseudo-random number generator.

Awesome Lists containing this project

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](https://briansmith.org/rustdoc/ring/rand/index.html).

## Usage

Install this with cargo:

```sh
cargo install rand-bytes
```

Or download one of the [releases](https://github.com/lawliet89/rand-bytes/releases).

If your architecture/OS is not supported, you can simply build it yourself.

## Command line options

```text
Generate some random bytes

USAGE:
rand-bytes [OPTIONS]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-o, --output Specify a file to output the bytes to, rather than stdout

ARGS:
Sets the number of bytes to generate random values for

```