code: def getseed(myseed, i):
      
      rndseed = int(myseed[(i - 1) * 8: i * 8], 16)
      rndseed = rndseed % (2 ** 31)  #XXX: trancate the first bit
      return rndseed
docs: Return a single seed from a long seed given by `genseeds`.
  
      Parameters
      ----------
      myseed : bytes
          A long seed given by `genseeds(n)`.
      i : int
          An index less than n.
  
      Returns
      -------
      rndseed : int
          A seed (less than (2 ** 31))