Chall.py from Crypto.Util.number import bytes_to_longfrom flag import FLAG f1, f2, f3, f4 = [bytes_to_long(FLAG[i:i+8]) for i in range(0, len(FLAG), 8)] print(f'{f1**3 – f2**3 + f3 – f4 = }’)print(f'{-f1**3 * f2**3 + f1**3 * f3 – f2**3 * f3 – f1**3 * f4 + f2**3 * f4 – f3 * f4 = }’)print(f'{-f1**3 * f2**3 […]
Tag: Polynomial
[HackToday 2021] – Polyday
polyday.txt: (94*x^40 + 230*x^39 + 103*x^38 + 187*x^37 + 76*x^36 + 11*x^35 + 93*x^34 + 152*x^33 + 91*x^32 + 153*x^31 + 180*x^30 + 18*x^29 + 195*x^28 + 47*x^27 + 95*x^26 + 216*x^25 + 84*x^24 + 18*x^23 + 232*x^22 + 53*x^21 + 174*x^20 + 7*x^19 + 110*x^18 + 155*x^17 + 237*x^16 + 20*x^15 + 215*x^14 + […]