Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/l/i/litter-HEAD/src/rsa.py   litter(Download)
def generate_prime(rng, bits):
  import MillerRabin
  return MillerRabin.gen_prime(bits, rng)
  #prime_cand = rng.get_int_bits(bits) 
  #while not is_prime(prime_cand):