BaaaaaaaarkingDog
코딩, 해킹
[System32.kr] RSA102

 

from Crypto.Util.number import *
p=2071997351323275967
q=8442423680928995267
n = p*q
phi = (p-1)*(q-1)
e = 65537
c = 494188309631797349948909951854662875
d = inverse(e, phi)
m = pow(c, d, n)
print(long_to_bytes(m))

'워게임 > System32.kr' 카테고리의 다른 글

[System32.kr] RSA103  (0) 2019.08.24
[System32.kr] RSA102  (0) 2019.08.24
[System32.kr] RSA101  (0) 2019.08.24
  Comments
댓글 쓰기