Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

什么是零知识证明 (Zero-knowledge proof)A zero-knowledge proof (ZKP) is a technique that enables one party (the prover) to demonstrate to another party (the verifier) the truth of a certain statement withou...

LatticesVectors 1702 Size and Basis \sqrt{4^2 + 6^2+2^2+5^2} = 919 Gram Schmidt 12345678910111213141516171819202122232425262728import numpy as np# 给定的基向量v1 = np.array([4, 1, 3, -1], dtype=float)v2...

什么是零知识证明A zero-knowledge proof (ZKP) is a technique that enables one party (the prover) to demonstrate to another party (the verifier) the truth of a certain statement without revealing any additio...

这个Course里有很大一部分都是关于RSA加密的。关于RSA的基本原理以及基本的攻击方法可以看我的另一篇博客:RSA加解密以及攻击方法。 Modular Exponentiation题 解12print(pow(101,17,22663))# 19906 Public Keys题 解12print(pow(12,65537,17*23))# 301 Euler’s Totient题 解12...

Keyed Permutations题 解这种叫Bijection。 1crypto{bijection} Resisting Bruteforce题 解根据图片中的描述,题目询问的是:“What is the name for the best single-key attack against AES?” 在描述中提到了: AES 的安全性 一个攻击能将 AES-1...

Greatest Common Divisor题 解直接实现一下欧几里得算法(辗转相除法): 12345678910def gcd(x,y): if x == y: return x if x<y: return gcd(x,y-x) else: return gcd(y,x-y) print(gcd(66528,529...

ASCII题目 解用Python自带的chr()函数即可: 123456789str_list = [99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]flag = ""for i in str_list: fl...

功能目前有以下功能: 编码: 编码: 可选编码方式:Base64,Base32,Base58,Base91,Binary,Hex 解码 可以自动进行多轮的base 32,58,64,91,二进制以及hex解码 古典密码: 栅栏密码 根据给定的密钥(栏数)进行加解密 凯撒密码: 给定密文以及密钥进行解密 给定密文,进行遍历解密 给定密文以及关键词,根据关键词自动查找遍历解密的...

Python内置的哈希函数 hash() 的碰撞漏洞

用Python写了一个自动解码的软件,可以自动进行多轮的base 32,58,64,91,二进制以及hex解码。 (后续可能会更新。) 效果 如果可以成功解码成text,则直接输出text: 如果不能,则输出hex作为保底: 代码12345678910111213141516171819202122232425262728293031323334353637383940414243444...