Socket-based psuedo-rng to imitate /dev/random
Clone and build the project:
git clone git@github.com:bcicen/go-random.git && \
cd go-random && \
go build
Run without any args for the most basic implementation, using Go math standard library for rng:
./go-random
or run with any number of character device paths as arguments to contribute to the entropy pool:
./go-random /dev/input/mice /dev/input/event4
Connecting to the socket can be tested via socat:
socat unix-connect:/tmp/rand.sock stdio