EeeeeeeE
Someone deleted p and q from the database! Help me decrypt the data back
Last updated
Someone deleted p and q from the database! Help me decrypt the data back
Last updated
import gmpy2
ct = 18954407074192125221394737376445869042049957165800358125100341212588095954517427811818212451816506973526646008065898871179845615654617950161581812936335489125
e = 3
m, exact = gmpy2.iroot(ct, e)
print(f"Plaintext (integer): {m}")
plaintext = m.to_bytes((m.bit_length() + 7) // 8, 'big')
print(f"Plaintext (decoded): {plaintext.decode()}")Plaintext (integer): 26662655490478048037517590082413291289773937194185085
Plaintext (decoded): GCTF24{e_1s_t0o_sM@l1}