Find an integer x such that 0 <= x < 527 and x^37 ≡3 (mod 527).
so we need a number x such that the remainder will be 3 in mod 527. Trial and error will take too long because the exponent is just too big here
Then what should I try?
start by factoring 527
17 and 31
that means \(\phi(527) = (17-1)(31-1) = 480\)
Now solve below equation \[37y \equiv 1 \pmod{480}\]
I have to find the inverse of 37, right?
that is, find the inverse of exponent "37" in mod 480
yes
It's 13
\[\large x \equiv 3^{13} \pmod{527}\]
\[x\equiv1594323(\mod527)\] which is \[x\equiv148 (\mod527)\]?
Looks good!
since they want x to be between 0 and 527, just pick x = 148
thank you!
as you can see breaking RSA is trivial when you're able to factor the modulus
That was RSA?
RSA is the name of an encryption system, I thought you're working on encryption algorithms... I went through your past questions...
Oh, so that's what it's called..
Join our real-time social learning platform and learn together with your friends!