-
shanks
求离散对数的shanks算法,要求如下:
实现计算 Zp 中计算离散对数的 Shanks 算法,基本要求如下:
1)p 是一个小素数( 小于 32 bit ),a 是一个本原元。程序的输入为(p, a, b), 输出为 logab ( mod p) (可以用 log3525 (mod 809)等作为测试);
2)采用快速模指数算法求幂(如am),采用扩展欧几里得算法求逆( 如a-i (mod p) );
3)采用一种好的排序算法对 L1、L2 排序;
4)采用概率算法(如Miller Rabin算法)自动生成素数 p,采用本原元的充要条件自动生成 a;(Discrete number of shanks on demand algorithm, the following: calculation of Zp calculated to achieve the discrete logarithm Shanks algorithm, the basic requirements are as follows: 1) p is a small prime number (less than 32 bit), a is a primitive element. Process input (p, a, b), output logab (mod p) (can use log3525 (mod 809) so as a test) 2) The fast mode index algorithm to solve the power (such as the am), using extended Euclidean Reed inverse algorithm (such as ai (mod p)) 3) use a good sorting algorithm on the L1, L2 sort 4) using probabilistic algorithms (such as the Miller Rabin algorithm) automatically primes p, using primitive element automatically generate the necessary and sufficient conditions a )
- 2010-05-26 11:30:38下载
- 积分:1
-
1602LCDtest
51系列单片机,1602LCD显示测试程序,测试通过,可直接使用(51 series, 1602LCD display test program, test, can be used directly)
- 2011-11-08 09:24:59下载
- 积分:1
-
SVPWM
PSCAD三电平SVPWM,功能正常,可以用于仿真研究(PSCAD three-level SVPWM, normal function)
- 2021-04-22 16:58:48下载
- 积分:1
-
建立八叉树,对点云数据进行变化检测
首先对获取的点云数据进行组织,对点云数据建立八叉树,以便于检索,然后对点云数据进行变化检测,并显示变化区域,输出变化区域的点的信息。
- 2022-01-27 14:11:57下载
- 积分:1
-
4.zadaca1
Library member structure, Programming techniques
- 2014-12-23 06:00:27下载
- 积分:1
-
DS1302
DS1302+89c51的例程代码,实测可用(DS1302 STM32)
- 2016-11-20 21:55:19下载
- 积分:1
-
first_bp
心电信号处理之 处理和扩展,ptt计算血压(ECG signal processing and handling of extensions, ptt calculate blood pressure)
- 2014-09-10 19:51:38下载
- 积分:1
-
yuankong
运控源码 C++运控源码 C++运控源码 C++(yuankongyuanmac++)
- 2009-11-19 15:39:35下载
- 积分:1
-
vc--6.0jiaocheng
很经典的vc入门教材,图文并茂,pdf版本的!(Classic vc introductory textbook, illustrated pdf version!)
- 2012-10-12 21:25:43下载
- 积分:1
-
1
说明: 将Minpack库中的LM算法封装成库,经过调试,通过算例运行结果与Matlab中运行出来的结果相差0.01范围内。(Will Minpack library package into the LM algorithm library,After debugging An example is the results is only 0.01 Difference from the result of Matlab s!
)
- 2009-08-09 22:15:03下载
- 积分:1