cryptohack.org - Salty

2022. 8. 15. 11:25WarGame/cryptohack.org

 

from Crypto.Util.number import *

n = 110581795715958566206600392161360212579669637391437097703685154237017351570464767725324182051199901920318211290404777259728923614917211291562555864753005179326101890427669819834642007924406862482343614488768256951616086287044725034412802176312273081322195866046098595306261781788276570920467840172004530873767                                                                  
e = 1
ct = 44981230718212183604274785925793145442655465025264554046028251311164494127485


flag = long_to_bytes(ct)
print(flag)

 

e 가 1임으로 그대로 ct를 출력하면 된다.

 

FLAG : crypto{saltstack_fell_for_this!}

'WarGame > cryptohack.org' 카테고리의 다른 글

cryptohack.org - Encoding Challenge  (0) 2021.08.20
cryptohack.org - Round Keys  (0) 2021.08.17
cryptohack.org - Confusion through Substitution  (0) 2021.08.09
cryptohack.org - Manyprime  (0) 2021.08.07
cryptohack.org - Structure of AES  (0) 2021.08.06