use entropy package instead of /dev/urandom.