摘要: Crypto the key to AES 已知题目问题代码: from secret import flag, key from Crypto.Util.Padding import pad from Crypto.Cipher import AES from hashlib import * a 阅读全文
posted @ 2025-11-28 07:06 Cayan 阅读(8) 评论(0) 推荐(0)
摘要: happy ('c=', '0x7a7e031f14f6b6c3292d11a41161d2491ce8bcdc67ef1baa9eL') ('e=', '0x872a335') #q + q*p^3 =128536731745208998078944182958039785532190189135 阅读全文
posted @ 2025-09-15 22:14 Cayan 阅读(33) 评论(0) 推荐(0)
摘要: CTF编码、杂项及算法 CTF在线工具-CTF工具|CTF编码|CTF密码学|CTF加解密|程序员工具|在线编解码 Ook!解码 Brainfuck/Ook! Obfuscation/Encoding [splitbrain.org] 线上CyberChef CyberChef SHA哈希加密 在线 阅读全文
posted @ 2025-09-15 20:52 Cayan 阅读(131) 评论(0) 推荐(0)
摘要: 使用EasyX c++库 中点算法直线绘制 //中点算法划线:横向直线绘制 void DDAline(int x1, int y1, int x2, int y2, int color) { int x; float dx, dy, y, k; dx = x2 - x1, dy = y2 - y1; 阅读全文
posted @ 2024-09-26 17:06 Cayan 阅读(119) 评论(0) 推荐(0)
摘要: 题目:matplotlib库的网页已下载并保存于“matplotlib · PyPI.html”文件(utf-8格式)中,请爬取并显示第i个版本的信息,并显示文件名(*.whl)、文件大小、更新时间、适用版本。i由键盘输入。其中第1版本显示如包过下图: (图片没有)! 对应脚本如下: <div cl 阅读全文
posted @ 2024-09-26 16:32 Cayan 阅读(41) 评论(0) 推荐(0)
摘要: import gmpy2 # 计算大整数模块import libnumimport rsafrom Crypto.PublicKey import RSA # 安装时安装pycryptodome模块 # 已知:p,q,e,cdef known_p_q_e_c(): p = int(input('请输 阅读全文
posted @ 2024-07-24 20:12 Cayan 阅读(247) 评论(0) 推荐(0)
摘要: 题目文件from Crypto.Util.number import * flag = b''m = bytes_to_long(flag)p = getPrime(128)q = getPrime(128)phi = (p - 1) * (q - 1)n = p * qe = 65537c = p 阅读全文
posted @ 2024-07-24 20:11 Cayan 阅读(1093) 评论(0) 推荐(0)