Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randbit

A small cross-platform command-line utility for generating cryptographically secure random bits and integers.

Features

  • C23
  • Linux, Windows, BSD, macOS
  • Uses the operating system CSPRNG
  • Minimal dependencies

Installation

make
sudo make install

Uninstallation

sudo make uninstall

Usage

randbit randbit --bool randbit --coin randbit --int ...

Examples

$ randbit 1

$ randbit --coin heads

...

Building

make
make BUILD=debug
make TARGET\_IS\_WINDOWS=y

Also visit

on unix-like systems:

man randbit #if installed

or

cat randbit.1

on windows: open randbit.txt #(or randbit.1 if you cloned the repo)

on github: open randbit.1

License

MIT

About

A cryptographically safe random bit generator with multiple and custom output formats.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages