code: def genPrime():
      
      prime = cmod.randomPrime(LARGE_PRIME)
      i = 0
      while not cmod.isPrime(2 * prime + 1):
          prime = cmod.randomPrime(LARGE_PRIME)
          i += 1
      return prime
docs: Generate 2 large primes `p_prime` and `q_prime` and use them
      to generate another 2 primes `p` and `q` of 1024 bits