use os.urandom()
c++ gmp implementation