Skip to content

bcicen/go-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

go-random

Socket-based psuedo-rng to imitate /dev/random

Quickstart

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages