![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
密码学
微凉_z
这个作者很懒,什么都没留下…
展开
-
ubuntu20.04安装fpylll
ubuntu20.04安装fpylll。原创 2024-03-11 19:56:36 · 555 阅读 · 0 评论 -
ELGamal公钥密码算法代码实现C++
#include<iostream>#include <cstdlib>#include <cmath>using namespace std;int pow_mod(int a, int b, int p); //pow and mod运算 --核心 a的b次方mod p void encryption(int m, int pub_key, int p, int g, int* c1, int* c2); //加密算法 //m--密文 pub--..原创 2022-05-22 15:49:53 · 1690 阅读 · 1 评论