A small cross-platform command-line utility for generating cryptographically secure random bits and integers.
- C23
- Linux, Windows, BSD, macOS
- Uses the operating system CSPRNG
- Minimal dependencies
make
sudo make installsudo make uninstallrandbit randbit --bool randbit --coin randbit --int ...
$ randbit 1
$ randbit --coin heads
...
make
make BUILD=debug
make TARGET\_IS\_WINDOWS=yon unix-like systems:
man randbit #if installedor
cat randbit.1on windows: open randbit.txt #(or randbit.1 if you cloned the repo)
on github: open randbit.1
MIT