linear_cryptoanalysis

WMCTF 2020 | idiot box

SPN linear cryptoanalysis import itertools from binascii import hexlify, unhexlify import Crypto.Random.random as random from Crypto.Util.number import bytes_to_long, long_to_bytes, getRandomNBitInteger from secret import flag banner = '''…