rgbCTF 2020 Crypto - N-AES
N-AES
Description
What if I encrypt something with AES multiple times? nc challenge.rgbsec.xyz 34567
~qpwoeirut#5057
Files
n_aes.py
import binascii
from base64 import b64encode, b64decode
from Crypto.Cipher import AES
from Crypto.Util.Padding import pad, unpad
from os import urandom
from random import seed, randint
BLOCK_SIZE = 16
d...
rgbCTF 2020 Crypto - Adequate Encryption Standard
Aedquate Encryption Standard
Description
I wrote my own AES! Can you break it?
hQWYogqLXUO+rePyWkNlBlaAX47/2dCeLFMLrmPKcYRLYZgFuqRC7EtwX4DRtG31XY4az+yOvJJ/pwWR0/J9gg==
~qpwoeirut#5057
Files
adequate_encryption_standard.py
from base64 import b64encode
BLOCK_SIZE = 8
ROUNDS = 8
sbox = [111, 161, 71, 136, 68, 69, 31, 0, 145, 237, 169, ...
0CTF/TCTF 2020 Crypto - babyring
Babyring
Description
nc pwnable.org 10001
Files
ring.tar.gz
release/task.py
task.py reads (trimming most part)
#!/usr/bin/python2
import os,random,sys,string
from hashlib import sha256
from struct import pack, unpack
import SocketServer
from Crypto.Cipher import ARC4
from flag import flag
K = 64
def gen():
from C...
60 post articles, 8 pages.