文件名称:shanks
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.21mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
求离散对数的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
实现计算 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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shanks/shanks/Debug/BuildLog.htm
shanks/shanks/Debug/mt.dep
shanks/shanks/Debug/shanks.exe.embed.manifest
shanks/shanks/Debug/shanks.exe.embed.manifest.res
shanks/shanks/Debug/shanks.exe.intermediate.manifest
shanks/shanks/Debug/shanks.obj
shanks/shanks/Debug/shanks.pch
shanks/shanks/Debug/shanks.res
shanks/shanks/Debug/shanksDlg.obj
shanks/shanks/Debug/stdafx.obj
shanks/shanks/Debug/vc80.idb
shanks/shanks/Debug/vc80.pdb
shanks/shanks/ReadMe.txt
shanks/shanks/res/shanks.ico
shanks/shanks/res/shanks.rc2
shanks/shanks/resource.h
shanks/shanks/shanks.aps
shanks/shanks/shanks.cpp
shanks/shanks/shanks.h
shanks/shanks/shanks.rc
shanks/shanks/shanks.vcproj
shanks/shanks/shanks.vcproj.LENOVO-BD620171.Owner.user
shanks/shanks/shanksDlg.cpp
shanks/shanks/shanksDlg.h
shanks/shanks/stdafx.cpp
shanks/shanks/stdafx.h
shanks/shanks.ncb
shanks/shanks.sln
shanks/shanks.suo
shanks/shanks/Debug
shanks/shanks/res
shanks/shanks
shanks
shanks/shanks/Debug/mt.dep
shanks/shanks/Debug/shanks.exe.embed.manifest
shanks/shanks/Debug/shanks.exe.embed.manifest.res
shanks/shanks/Debug/shanks.exe.intermediate.manifest
shanks/shanks/Debug/shanks.obj
shanks/shanks/Debug/shanks.pch
shanks/shanks/Debug/shanks.res
shanks/shanks/Debug/shanksDlg.obj
shanks/shanks/Debug/stdafx.obj
shanks/shanks/Debug/vc80.idb
shanks/shanks/Debug/vc80.pdb
shanks/shanks/ReadMe.txt
shanks/shanks/res/shanks.ico
shanks/shanks/res/shanks.rc2
shanks/shanks/resource.h
shanks/shanks/shanks.aps
shanks/shanks/shanks.cpp
shanks/shanks/shanks.h
shanks/shanks/shanks.rc
shanks/shanks/shanks.vcproj
shanks/shanks/shanks.vcproj.LENOVO-BD620171.Owner.user
shanks/shanks/shanksDlg.cpp
shanks/shanks/shanksDlg.h
shanks/shanks/stdafx.cpp
shanks/shanks/stdafx.h
shanks/shanks.ncb
shanks/shanks.sln
shanks/shanks.suo
shanks/shanks/Debug
shanks/shanks/res
shanks/shanks
shanks
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.