Now use /dev/random for key generation on unix
add copyright header