Using output of /dev/urandom. Simply convert bytes into 8-bit characters. WWW: http://search.cpan.org/dist/String-Urandom/