Mind your Ps and Qs

In RSA, a small e value can be problematic, but what about N? Can you decrypt this? values

after getting the file we were given 3 variables

so we got the ciphertext the n and e

so we can just find the p and q using tools

then we can calculate the phi of n and d

φ(n) = (p - 1) * (q - 1)

d = e^-1 mod φ(n)

now we can decrypt the flag cause we already have the d and n

Last updated