I am trying to find the flag from an RSA ciphertext, I am able to get the factors from factordb.com
but the given e
is not coprime with phi(n). One weird thing that I observed is that n
and cipher_int
has 10264 digits (looks like an integer). I am very new to crypto, Any ideas on how I can solve this?
python
- len(bin(n)[2:]) == 34095 and len(bin(c)[2:]) ==34095 $\endgroup$cipher_int
was obtained as $c:=m^e\bmod n$ as in textbook RSA ? Is the order of magnitude of $e$ small enough that it could be that $m^e<n$, which would make recovery of $m$ from $c$ and $e$ trivial? $\endgroup$n
, gcd(e, p-1) and gcd(e, q-1) both of them are not1
, e is quite small as compared to n. $\endgroup$e
deliberately, actually e/4 was Fermat's number (65537) and they just wanted to see If I could "bend" my thought in that direction. BTW thank you so much for your quick response your comments gave me enough material to read for the coming weekend! @fgrieu $\endgroup$