Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hollychen503/f5e2362fdd3214478b52c8b08fa43c98 to your computer and use it in GitHub Desktop.
Save hollychen503/f5e2362fdd3214478b52c8b08fa43c98 to your computer and use it in GitHub Desktop.
Installing haveged on Debian/Ubuntu
apt-get install haveged
nano /etc/default/haveged # Setup DAEMON_ARGS="-w 1024"
update-rc.d haveged defaults
cat /dev/random | rngtest -c 1000 # Testing Availability of Entropy & Quality of Random Data
cat /proc/sys/kernel/random/entropy_avail # To test the amount of available entropy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment