暗号利用モード

SECCON CTF | cerberus

#seccon2021 #kurenaif import base64 from Crypto.Cipher import AES from Crypto.Random import get_random_bytes from Crypto.Util.Padding import pad, unpad from Crypto.Util.strxor import strxor from flag import flag import signal key = get_ran…

zer0pts CTF 2021 | 3-AES

#zer0ptsCTF2021 from Crypto.Cipher import AES from Crypto.Random import get_random_bytes from binascii import hexlify, unhexlify from hashlib import md5 import os import signal from flag import flag keys = [md5(os.urandom(3)).digest() for …