Mind your Ps and Qs
https://play.picoctf.org/practice/challenge/162
[[RSA]] problem
using online prime factorizer http://factordb.com/index.php?query=1422450808944701344261903748621562998784243662042303391362692043823716783771691667
c = 843044897663847841476319711639772861390329326681532977209935413827620909782846667
n = 1422450808944701344261903748621562998784243662042303391362692043823716783771691667
e = 65537
# our prime numbers
p = 2159947535959146091116171018558446546179
q = 658558036833541874645521278345168572231473
phi = (p-1)*(q-1)
d = pow(e, -1, i)
m = pow(c,d,n)
print(bytes.fromhex(hex(ans)[2:]).decode('ascii'))i copied dis cuz im lost
Last updated