Mathematics, Cryptography, Tech, DevOps.
the range() to a list. For the Base and Secret Exponents we pick numbers just randomzingin a range: secure_random.choice = random.SystemRandom() secure_random.choice(range(1,10001)) Let’s assume we have these numbers: P (prime) = 2833 N (base) = 3667 J(Jerry's Secret exponent) = 6531 S(Simon's