Use cross platform os.urandom instead of Crypto.Random