e=1

When $e=1$, the encryption is virtually useless

c=Me=M1=Mmodā€‰ā€‰Nc = M^e = M^1 = M \mod N

At that point, ciphertext cc is equal to MM, and it's unencrypted.

from Crypto.Util.number import long_to_bytes

print(long_to_bytes(m))

Last updated