timeout when reading from /dev/random
made /dev/random configurable by RANDOM_DEVICE variable
sanity test if "$RANDOM_DEVICE" exists