from Crypto.Util.number import *
from gmpy2 import next_prime

p = getPrime(512)
q = getPrime(512)

n = p * q * next_prime(p) * next_prime(q)
e = 0x10001

flag = b"flag{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}"
cipher = pow(bytes_to_long(flag), e, n)

print(n, cipher)
8a61ddc8b927b6c07622377116c692bdc4b2bd87
<mask token>

<mask token>
print(n, cipher)

<mask token>
p = getPrime(512)
q = getPrime(512)
n = p * q * next_prime(p) * next_prime(q)
e = 65537
flag = b'flag{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
cipher = pow(bytes_to_long(flag), e, n)
print(n, cipher)

from Crypto.Util.number import *
from gmpy2 import next_prime
p = getPrime(512)
q = getPrime(512)
n = p * q * next_prime(p) * next_prime(q)
e = 65537
flag = b'flag{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}'
cipher = pow(bytes_to_long(flag), e, n)
print(n, cipher)

from Crypto.Util.number import *
from gmpy2 import next_prime

p = getPrime(512)
q = getPrime(512)

n = p * q * next_prime(p) * next_prime(q)
e = 0x10001

flag = b"flag{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}"
cipher = pow(bytes_to_long(flag), e, n)

print(n, cipher)