-
rsa
rsa 实现代码,运用大数算法#include "afx.h"
#include "Integer.h"
#include <string>
#include <iostream>
using namespace std
//构造大数对象并初始化为零
CInteger::CInteger()
{
m_nLength=1
for(int i=0 i<BI_MAXLEN i++)m_ulValue[i]=0
}
//解构大数对象
CInteger::~CInteger()
{
}
/*大数比较
调用方式:N.Cmp(A)
返回值:若N<A返回-1;若N=A返回0;若N>A返回1
*/
int CInteger::Cmp(CInteger& A)(#include "afx.h"
#include "Integer.h"
#include <string>
#include <iostream>
using namespace std
//构造大数对象并初始化为零
CInteger::CInteger()
{
m_nLength=1
for(int i=0 i<BI_MAXLEN i++)m_ulValue[i]=0
}
//解构大数对象
CInteger::~CInteger()
{
}
/*大数比较
调用方式:N.Cmp(A)
返回值:若N<A返回-1;若N=A返回0;若N>A返回1
*/
int CInteger::Cmp(CInteger& A))
- 2012-05-16 11:09:35下载
- 积分:1
-
sha-256
sha256的签名算法,纯C实现,已验证正确,在控制台上直接运行即可,(sha256 signature algorithm, pure C implementation ,has been verified properly and can be run directly on the console.)
- 2021-04-28 16:08:43下载
- 积分:1
-
Simple-CaesarCipher
这是一个小程序,凯撒解密,自己写的,以后还会扩展的(This is a simple program for a example of ceasar cipher. It is produced by myself and I want to extend it to a substitution cipher program in some days.)
- 2011-09-14 00:59:06下载
- 积分:1
-
ShamirSharring
Shamir门限算法的C++实现,依赖于NTL开源代码库(Shamir threshold algorithm C++ implementation, relies on NTL open source code base)
- 2020-07-01 21:00:02下载
- 积分:1
-
Recursive-subroutine
该程序使用C++写的一个基于递归子程序算法的语法翻译器,是在vs2012环境下编写的,供大家参考和学习(The program uses C++ to write an algorithm based on recursive subroutine syntax interpreter is written in vs2012 environment, for your reference and learning)
- 2013-11-26 23:12:15下载
- 积分:1
-
MD5_RSA
本源代码,综合了DES,RSA,MD5等几种加密的方法于同一工程中,可以让读者对各种加密方法的实现通过代码实现过程的比较,更好的理解几种软件加密方法(Source code, a combination of DES, RSA, MD5 encryption method, such as several in the same project, will allow readers to a variety of encryption methods to achieve the realization of the process through code comparison, a better understanding of several software encryption methods)
- 2008-05-19 09:32:33下载
- 积分:1
-
sha-256
sha256的签名算法,纯C实现,已验证正确,在控制台上直接运行即可,(sha256 signature algorithm, pure C implementation ,has been verified properly and can be run directly on the console.)
- 2021-04-28 16:08:43下载
- 积分:1
-
RC4_DLL
RC4解加密算法生成DLL动态库,密钥可以再程序里面写死或者外部导入!(The RC4 the Xie encryption algorithm to generate the DLL dynamic libraries, key can re-program inside hardcoded or external import!)
- 2012-08-23 18:44:25下载
- 积分:1
-
DES
今天我们学习了des对称加密算法这是一个des算法的C++实现(This is a des !)
- 2009-09-15 15:04:20下载
- 积分:1
-
RSA-KEY
RSA公钥加密程序RSA公钥加密程序RSA公钥加密程序RSA公钥加密程序RSA公钥加密程序(RSA public key encryption program)
- 2013-09-06 09:42:15下载
- 积分:1