Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lawliet89/rand-bytes
- Owner: lawliet89
- License: apache-2.0
- Created: 2017-04-17T08:15:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T01:35:59.000Z (about 6 years ago)
- Last Synced: 2024-08-05T16:28:45.761Z (3 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/rand-bytes
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 bytesUSAGE:
rand-bytes [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-o, --output Specify a file to output the bytes to, rather than stdoutARGS:
Sets the number of bytes to generate random values for```