
安全学
kgjn__
这个作者很懒,什么都没留下…
展开
-
AES相关
任务: 1.用C/C++实现对GF(28)GF(2^8)GF(28)的若干运算功能,包括:加法、乘法、求乘法逆元(给定xxx,求yyy,使得 x∗y==1x*y ==1x∗y==1),求离散对数(即给定一个生成元ggg,输入xxx,求yyy使得gy==xg^y == xgy==x) 。 2、实现AES的S-box的生成。 /* 全局变量 */ static uint8_t logtable[2...原创 2018-10-13 17:05:52 · 477 阅读 · 0 评论 -
群
Write a program to play with Zp∗\mathbb{Z}_p^*Zp∗,where p is a prime. (a) What is the order of Zp∗\mathbb{Z}_p^*Zp∗. (b) Find all the generators of Z11∗\mathbb{Z}_{11}^*Z11∗ and Z13∗\mathbb{Z}_{13...原创 2018-10-11 13:14:43 · 427 阅读 · 0 评论 -
RSA(1)
const char* N_str = "10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531469002933770824382865926730400902798743137187335810705309884635...原创 2018-10-16 22:49:34 · 462 阅读 · 0 评论