Description: 根据设计要求:1)具有文件加密和解密功能;2)具有加解密速度统计功能;3)采用密文反馈链接和密文挪用短块处理技术。我们可以知道,程序要有加密模块、解密模块、子密钥生成模块,这三个模块构成DES算法。DES算法再构成3DES,这很简单,只要加个密钥便可实现。3DES还必须工作在密文反馈连接模式下和使用密文短块挪用技术。至于速度统计功能就很好实现,用文件长度除以处理时间便是加解密速度。-based on the design requirements : 1) with file encryption and decryption function; 2) the speed with the encryption and decryption functions of statistics; 3) Use of dense text links and feedback secret misappropriation short pieces of text processing technology. We know that procedures have encryption module, decryption modules for key generating modules, which constitute three modules DES algorithm. DES algorithm constitute 3DES, this is very simple, as long as add key can be reached. 3DES must also work in close link text feedback mode and the use of short text block secret misappropriation of technology. As for the speed of statistical functions properly achieved, divided by the length of documents with the processing time is the speed encryption and decryption. Platform: |
Size: 14763 |
Author:杨巍 |
Hits:
Description: :DES体制是ISO颁布的数据加密标准,通过对DES算法的分析,提出了用C语言实现数据加密标准DES算法,通过循环或迭代,将简单的基本运算(例如左移、右移、模2加法等)和变换(选择函数、置换函数)构造成数据流的非线性变换(加密变换或解密变换),从而实现对计算机数据进行密码保护。着重介绍了用C语言实现其加密的主要过程。关键词:数据加密 DES C语言-: DES system is ISO issued by the Data Encryption Standard, DES algorithm on the analysis of the C language standard DES data encryption algorithm, or through iterative cycle of simple basic operations (such as bits, death, die two Adder, etc.) and transform (choice function, function replacement) structural data streams into the nonlinear transformation (encryption or decryption transform Transform), thereby achieving data on the computer password protection. Highlights of the C language to achieve its key encryption process. Keywords : DES data encryption C language Platform: |
Size: 549888 |
Author:王冰 |
Hits:
Description: 根据设计要求:1)具有文件加密和解密功能;2)具有加解密速度统计功能;3)采用密文反馈链接和密文挪用短块处理技术。我们可以知道,程序要有加密模块、解密模块、子密钥生成模块,这三个模块构成DES算法。DES算法再构成3DES,这很简单,只要加个密钥便可实现。3DES还必须工作在密文反馈连接模式下和使用密文短块挪用技术。至于速度统计功能就很好实现,用文件长度除以处理时间便是加解密速度。-based on the design requirements : 1) with file encryption and decryption function; 2) the speed with the encryption and decryption functions of statistics; 3) Use of dense text links and feedback secret misappropriation short pieces of text processing technology. We know that procedures have encryption module, decryption modules for key generating modules, which constitute three modules DES algorithm. DES algorithm constitute 3DES, this is very simple, as long as add key can be reached. 3DES must also work in close link text feedback mode and the use of short text block secret misappropriation of technology. As for the speed of statistical functions properly achieved, divided by the length of documents with the processing time is the speed encryption and decryption. Platform: |
Size: 14336 |
Author:杨巍 |
Hits:
Description: 功能: 实现DES加密算法的加密解密功能 */
/*- */
/*-说明:des算法的实现代码 */
/*- 能够实现56位或56*3密钥的des算法,可以通过该程序提供的接口 */
/*- 进行数据的加密,保证数据在传送过程的安全性 */
/*- */
/*- */
/*-该程序的所有权利由作者保留 */-functions : DES encryption algorithm to achieve the encryption and decryption function*//*-*//*- Note : des algorithm implementation code*//*- can achieve 56 or 56* 3 keys des algorithm, through this program the interface*//*- for data encryption, to ensure data in the process of transmission security*//*-*//*-*//*- all of the proceedings right from the author Bulgaria stay* / Platform: |
Size: 39936 |
Author:长乐 |
Hits:
Description: 本源代码的功能是:提供3DES的加密方法与解密方法-Source code function is to: provide the 3DES encryption method and decryption method Platform: |
Size: 2048 |
Author: |
Hits:
Description: /*-功能: 实现DES加密算法的加密解密功能 */
/*- */
/*-说明:des算法的实现代码 */
/*- 能够实现56位或56*n密钥的des算法,可以通过该程序提供的接口 */
/*- 进行数据的加密,保证数据在传送过程的安全性 -/*- Function: DES encryption algorithm realize the encryption and decryption functions*//*-*//*- Description: des*//*- code algorithm can achieve 56 or 56* n keys des algorithm, can provided through the program interface*//*- data encryption to ensure data security during transmission of Platform: |
Size: 3072 |
Author:xiaozi |
Hits:
Description: 用尽可能少的代码实现DES密码算法的加密、解密功能,可以任意调整算法论数,加密解密在一个程序中都可实现,只需修改flg的值为1或0就可简单开或关加密或解密算法。-With as little as possible code realize DES cipher encryption, decryption function, can adjust the number of algorithms, encryption and decryption in one program can be realized, simply modify the value of FLG 1 or 0 can be a simple encryption on or off or decryption algorithm. Platform: |
Size: 214016 |
Author:信息安全 |
Hits:
Description: 用c++实现des算法
整体思路
用key.cpp 文件来产生秘钥,用ringfuction.cpp文件来实现轮函数,用main.c来实现加密和解密。有关函数见三个文件里的具体实现。
-With c++ To achieve the overall outlook des algorithm key.cpp document used to generate secret keys, used to achieve ringfuction.cpp paper round function, with main.c to achieve encryption and decryption. See three documents related to function in the concrete realization. Platform: |
Size: 882688 |
Author:dufeilong |
Hits:
Description: 笔者在此提供自编的DES算法的实现源码,读者可以直接使用接口函数实现加密解密操作,有兴趣自己动手实现的读者也可以把作为一份参考.-I provide in this self-realization of the DES algorithm source, readers can directly use the interface function realize encryption and decryption operations, are interested in do-it-yourself readers realize can also used as a reference. Platform: |
Size: 3072 |
Author:孙人 |
Hits:
Description: 用c语言实现的des加密解密程序源码,包含一个des头文件和一个des源文件以及一个main函数源文件-Use c language to achieve the des encryption and decryption program source code, contains a des header files and a des source files as well as a main function of the source file Platform: |
Size: 4096 |
Author:胡美 |
Hits:
Description: DES的每个分组是64位,既明文和密钥都是64位(密钥实际用56位,每字节第8位为校验)。这个算法的核心是Feistel密码,由于其设计的巧妙,加密解密都用一个函数,具体原理请查阅其他资料。DES的流程基本是执行16轮下面的运算:-DES each packet is 64, both explicit and are 64-bit key (actual key 56, the first 8 bytes each for validation). The core of this algorithm are Feistel password, because of its ingenious design, encryption and decryption using a function, specifically the principle of access to other information requested. DES is the implementation of the basic flow of 16 the following operations: Platform: |
Size: 23552 |
Author:吴成刚 |
Hits:
Description: DES算法加解密全套程序,可运行,实现对txt(文本)文件内容的加解密。用vc6.0编写,内涵源代码,以及详细注释,程序非常简单,经过下载后可以对其源代码修改,加解密器,同时代码非常简单,可以通过读代码学到很多vc的知识啊,比看书学的快多了。另在解密文件夹中还有一个测时间的函数,精确到毫秒,可以计算出程序运行的时间,该代码移植性较强,可以用在别的程序中。-DES encryption algorithm for a full set of procedures, operations, implementation of the txt (text) file content encryption and decryption. Prepared by vc6.0 content source code, as well as detailed notes, a very simple procedure, the download can modify its source code, encryption and decryption, and at the same time very simple code, you can read a lot of code to learn the knowledge vc ah, more than Read books to learn more quickly. Decrypted at the other folders have a function of time measurement, accurate to the millisecond, you can run out of time, the transplantation of a stronger code can be used in other proceedings. Platform: |
Size: 413696 |
Author:xiaowei |
Hits:
Description: 一起四个函数
uses 这个单元就可使用
function EncryStr(Str, Key: String): String
function DecryStr(Str, Key: String): String
function EncryStrHex(Str, Key: String): String
function DecryStrHex(StrHex, Key: String): String
分两队,分别是加密和解密的-With the four function uses this unit to use function EncryStr (Str, Key: String): String function DecryStr (Str, Key: String): String function EncryStrHex (Str, Key: String): String function DecryStrHex (StrHex , Key: String): String sub-teams, which are encryption and decryption Platform: |
Size: 3072 |
Author:zenghua |
Hits:
Description: 基于DES加密算法的二进制加密解密程序,内含主程序与加密函数、解密函数,有详细注释,并画出了二进制信号波形。-DES encryption algorithm based on binary encryption and decryption process, containing the main program and the encryption function, decryption function, detailed notes, and draw a binary signal waveforms. Platform: |
Size: 9216 |
Author:魁 |
Hits:
Description: des密码 :包括加密、解密功能,保证可以运行;8位密钥。-des Password: include encryption, decryption function, to ensure you can run 8-bit key. Platform: |
Size: 610304 |
Author:w |
Hits:
Description: 传统的DES加解密程序,VC++实验通过,功能较为完善,支持文本加密及实时加密功能。-The traditional DES encryption and decryption process, VC++ test passed, function better, support the text encryption and real-time encryption. Platform: |
Size: 119808 |
Author:sniper |
Hits:
Description: 实验内容
1、对称密码技术的实现
(1)熟悉相应的DES加密/解密函数的使用,在单机完成对特定文件(test-1.txt)的单重DES加密/解密;
(2)针对DES密钥特点(8字节,64比特位,其中真正起作用的为56比特位),设计一次一密的密钥产生机制(即每次会话所使用的密钥都是临时随机产生的);
2、非对称密码技术的实现
(1)熟悉RSA相关函数(公私钥生成函数,加密/解密函数);
(2)利用公钥加密特定文件(test-1.txt),并用私钥进行解密;反过来,再利用私钥加密特定文件,并用公钥进行解密。对比解密后的文件与原始文件是否一致。
3、信息摘要技术的实现
(1)熟悉MD5算法的实现函数;
(2)利用MD5实现函数,对特定文件(test-1.txt)进行信息摘要的计算,得到信息摘要M1;尝试改变特定文件中的内容(比如改变其中某个字母),再利用MD5计算一次信息摘要,看同之前得到的信息摘要是否相同;
设计要求
1、JAVA语言编程实现
2、单机上完成
3、加密内容为一文本文件(从服务器下载),从服务器上下载相关软件包(jce-1_2_2和帮助文件,主要用于RSA密钥生成和加/解密,如果安装了JDK1.6版本以上,则不需要jce支持)后,请先阅读帮助再进行编程。(DES/RSA/MD5
The implementation of symmetric cryptography
(1) familiar with the use of the corresponding DES encryption / decryption function, complete single DES encryption / decryption of a particular file (test-1.txt) in a single machine;
(2) for DES key features (8 bytes, 64 bits, which really works for 56 bits), the design of a secret key generation mechanism (i.e. using the session key is randomly generated temporary);) Platform: |
Size: 16384 |
Author:潇洒坤
|
Hits:
Description: 实现DES函数的加密解密过程,并且能够实现任意长度任意字符的加密和解密(Implement the encryption and decryption process of DES function) Platform: |
Size: 3072 |
Author:Vinegar
|
Hits:
Description: main函数文件输入明文,调用秘钥留生成函数(get_k文件)以及加解密函数(encrypt_fcn文件),完成对明文的加密和解密(Encryption and decryption of plaintext are accomplished by inputting main function file into plaintext, calling secret key generation function (get_k file) and encryption and decryption function (encrypt_fcn file).) Platform: |
Size: 3072 |
Author:hyperbole |
Hits: