-
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
-
yufa.cpp
编译原理_词法分析,实现了基本的词法功能,二元式输出( Compiler theory lexical analysis, to achieve the basic lexical functions, binary type output)
- 2013-10-20 00:05:54下载
- 积分:1
-
cleanProjectCPlusPlus
2 尝试设计翻译方法。假定对程序片段已得到语法树,如
if (a > b) b = a
已得到语法树
编写程序,遍历语法树,执行代码,得到正确结果。
(2 try to design Translation. Has been assumed for the program fragment syntax tree, such as if (a> b) b = a syntax tree has been writing programs, traverses the syntax tree, code, to get the correct results.)
- 2015-11-14 08:57:16下载
- 积分:1
-
HuffMan
哈夫曼编码译码系统,设置发送者和接受者两个功能,
发送者的功能包括:
①输入待传送的字符信息;
②统计字符信息中出现的字符种类数和各字符出现的次数(频率);
②根据字符的种类数和各自出现的次数建立哈夫曼树;
③利用以上哈夫曼树求出各字符的哈夫曼编码;
④将字符信息转换成对应的编码信息进行传送。
接受者的功能包括:
①接收发送者传送来的编码信息;
②利用上述哈夫曼树对编码信息进行翻译,即将编码信息还原成发送前的字符信息。
(Huffman decoding system, set the sender and the recipient of two functions, the sender' s features include: (1) input to be transmitted character information ② statistical character information, the number of types of characters and characters the number of occurrences (frequency create a Huffman tree) ② According to the number of types of characters and their respective number of occurrences ③ use the Huffman tree to find the characters Huffman coding ④ character information into the corresponding coding information for delivery. The recipient of the features include: (1) to receive the coded information to the sender transmission ② above Huffman tree coded information to be translated, is about to coded information to restore the character information before sending.)
- 2012-06-21 21:01:17下载
- 积分:1
-
cryptLib
100 多个加密和解密可以用到的库, 本人悉心收藏的精品(100 can be used to encrypt and decrypt the library, my collection of boutique carefully)
- 2010-08-15 17:35:42下载
- 积分:1
-
sqlcipher_vs2008
支持加密Sqllite库,vs2008 + sqlite3 + sqlcipher,测试可用(Supports encryption Sqllite library, VS2008+ SQLite3+ sqlcipher, testing available)
- 2020-06-26 18:00:02下载
- 积分:1
-
plantlocation
用Cplex求解一个造船厂选址的问题,使得包括运输成本在内的成本最小。(a program using Cplex to slove a plant lacation problem to minimize the total costs.)
- 2020-07-03 17:40:02下载
- 积分:1
-
AES-with-ECC
本文使用ECC加密AES的密钥,再由AES加密明文内容,AES加密强度大,速度快,但是密钥更新繁琐和不安全,由强度很大的非对称密钥算法对AES密钥加密,结合了两方的优点(this programme combine the ECC
with AES.using the ECC to cipher the AES key,and using the AES to cipher the m)
- 2020-06-29 10:20:02下载
- 积分:1
-
jpeg_ls_v2.2
实现图像的jpeg无损压缩,可以在linux系统下经过交叉编译器编译后在arm上实现,已经写好makefile文件(Realize jpeg image lossless compression, you can linux system through cross-compiler to compile in the arm to achieve, has written makefile file)
- 2008-04-21 10:21:26下载
- 积分:1
-
TS_Process_V1.0
DVB 加扰软件,对TS流文件进行加扰,符合DVB标准(it s a dvb scramble software . it can scrambling ts stream file ,which apply for dvb standards)
- 2010-01-04 19:22:39下载
- 积分:1