elgamal 源代码

在密码学中,ElGamal加密算法是一个基于迪菲-赫尔曼密钥交换的非对称加密算法,它在1985年由塔希尔·盖莫尔提出[1]。

收录资源 59 份 全站深度检索
源码文件

uses GInt, PrimeGeneration, ElGamal; procedure ElGamalSignAndVerify; var p, phi, g, x, y, k, one, two, temp, gcd: TGInt; …

源码文件

Crypto++: ElGamal struct Reference Main Page | Namespace List | Class Hierarchy | Alphabetical List |

源码文件

ElGamal实例说明 (如果计算器没反应,可以用在线的计算器:http://www.alpertron.com.ar/DILOG.HTM) 先将数据转换成10进制(用BigCalc大数计算器转换) 在Base域中填入:1056984685644…

源码文件

// elgamal.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "elgamal.h" #include "asn.h" #…

源码文件

/* 实验八 计算模逆与模幂 (一)实验内容 1. 对于两个不超过216的正整数d与n,编写计算d-1 (mod n) 的程序; 2. 对于三个不超过216的正整数a、e与n,编写计算ae (mod n) 的程序。 在上述程序基础上写出下列程序: …

源码文件

// elgamal.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "elgamal.h" #include "asn.h" #…

源码文件

// elgamal.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "elgamal.h" #include "asn.h" #inclu…