摘要:
求后随机数 import random from mt19937predictor import MT19937Predictor predictor = MT19937Predictor() for _ in range(624): x = random.getrandbits(32) predi 阅读全文
posted @ 2022-07-02 19:45
Jjyyyyy
阅读(342)
评论(0)
推荐(0)
摘要:
#[第七章 CTF之CRYPTO章]BabyRSA from Crypto.Util.number import * flag = bytes_to_long("n1book{*********}") p = getPrime(128) q = getPrime(128) n = p * q e = 阅读全文
posted @ 2022-07-02 19:44
Jjyyyyy
阅读(196)
评论(0)
推荐(0)
摘要:
AES属于分组加密算法 明文长度固定为128位 密钥长度可以是128、192、256位 1字节=8位 步骤 名称 具体操作解释 1 明文 2 初始变换 将明文16字节4*4的矩阵与密钥16字节4*4的矩阵进行异或操作 3 9轮循环运算 1-字节代换(SubBytes): 2-行移位(ShiftRow 阅读全文
posted @ 2022-07-02 15:03
Jjyyyyy
阅读(101)
评论(0)
推荐(0)
摘要:
https://www.ctfer.vip/problem [安洵杯 2020]easyaes #!/usr/bin/python from Crypto.Cipher import AES import binascii from Crypto.Util.number import bytes_t 阅读全文
posted @ 2022-07-02 11:23
Jjyyyyy
阅读(279)
评论(0)
推荐(0)

浙公网安备 33010602011771号