密码学
文章平均质量分 87
密码相关知识
Oo璀璨星海oO
这个作者很懒,什么都没留下…
展开
-
TLSv1.2抓包解密分析过程之RSA_WITH_AES_128_CBC_SHA
TLSv1.2抓包解密分析过程之RSA_WITH_AES_128_CBC_SHA原创 2023-08-22 20:24:27 · 3756 阅读 · 2 评论 -
Barrett reduction algorithm
Barrett reduction algorithm转载 2023-01-16 16:02:26 · 1735 阅读 · 0 评论 -
OpenSSL/GmSSL 动态引擎
OpenSSL/GmSSL 动态引擎转载 2022-11-10 17:13:40 · 2494 阅读 · 0 评论 -
The In’s and Out’s of Cryptographic Hash Functions
Hash functions are one of the foundational pillars of the blockchain technology. In fact, hashing singlehandedly imparts one of the most important properties to the blockchain: immutability.The In’s and Out’s of Cryptographic Hash FunctionsIn this art.转载 2021-08-27 15:27:14 · 1213 阅读 · 0 评论 -
RSA 中根据 (N, e, d) 求 (p, q)
湖湘杯有一道题是知道(N,e,d)求(p,q),当时用了e⋅d−1=h⋅φ(n)这个公式,爆破h,考虑φ(n)与N相差不大,可以认为位数相同,求出φ(n)之后再根据N=p⋅q和φ(n)=(p−1)(q−1)联立一个方程。N=pqφ(n)=(p−1)(q−1)⇒N−φ(n)+1=p+q可得到一个一元二次方程X2−(N−φ(n)+1)X+N=(X−p)(X−q)根据求根公式即可解出p和q。# coding=utf-8import ...转载 2021-01-16 16:42:50 · 6816 阅读 · 1 评论