.. Original article at http://text.maze.io/2010/01/08/use-this-to-drain-your-available-entropy _______ ____________ _______ _\__ /_________ ___ _____ | _ _ \ _ | ____\ _ / | |/ _ \ | / / / / | | | /___/ _ | | / / |___/___/ /___/____|________|___ | |_| |___|_____/ \__/ |___| (c) 2010 Wijnand 'maze' Modderman - http://maze.io/ Use this to drain your available entropy ======================================== Tired of the huge amounts of available entropy generated by your RNG being wasted? Here is the solution:: #!/bin/sh set -e DIR=$(mktemp -t -d rsa-art-XXXXXX) trap "rm -f $DIR/key*; rmdir $DIR" EXIT HUP INT QUIT TERM while : do ART=$(ssh-keygen -t rsa -f $DIR/key -N "" | tail -n 11) rm -f $DIR/key /bin/echo -e "\x1Bc" echo "$ART" done It even gives you very neat "RSA ASCII art" ...