justctf_2020

justCTF 2020 | 25519

#justCTF_2020 #!/use/bin/env sage from sys import exit from hashlib import sha256 FLAG = open('./flag.txt').read() ec = EllipticCurve(GF(2**255-19), [0, 486662, 0, 1, 0]) p = ec.order() ZmodP = Zmod(p) G = ec.lift_x(9) ha = lambda x: x if …

justCTF 2020 | oracles

#justCTF_2020 #RSA #manger's_attack https://jsur.in/posts/2021-01-31-justctf-2020-crypto-writeups#oracles https://mystiz.hk/posts/2021-02-01-justctf-oracles/