INNER CODE UNIT · Python

phi

rishitsaiya/CTFlearn-Writeups · Cryptography/CoppeRSA Lattice/exploit.py:13

phi = (p-1) * (q-1)

d = inverse(e,phi)
m = pow(c,d,n)

hex_str = hex(m)[2:] # Removing '0x'
print(binascii.unhexlify(hex_str))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…