Description: 之前,我在一个项目开发过程中,涉及到了TripleDes的算法,在实现过程中,我也参考了论坛现有的关于3DES的代码,发现大部分的代码在算法的实现上不够严谨,或者小有偏差,特别是对3DES的两种模式:ECB,CBC都罕有涉及。此版本提供的TripleDes可以实现3DES在两种模式下的2key/3key的加、解密。在速度优化和内存控制上都做了优化。-Before, I in a project development process, involving the TripleDES algorithms, in the realization of the process, I also made reference to a forum on the existing 3DES code and found that most of the code in the algorithm for the realization of loosely, or small deviations, especially for 3DES of two modes: ECB, CBC are rarely involved. This version provided by TripleDES 3DES can be achieved in two modes of 2key/3key increases, decryption. Optimized in terms of speed and memory control are optimized. Platform: |
Size: 7168 |
Author:无可厚非 |
Hits:
Description: 3DES又称Triple DES,是DES加密算法的一种模式,它使用3条56位的密钥对数据进行三次加密。数据加密标准(DES)是美国的一种由来已久的加密标准,它使用对称密钥加密法,并于1981年被ANSI组织规范为ANSI X.3.92。DES使用56位密钥和密码块的方法,而在密码块的方法中,文本被分成64位大小的文本块然后再进行加密。比起最初的DES,3DES更为安全。-3DES, also known as Triple DES, DES encryption algorithm is a model that uses three 56-bit key three times the data encryption. Data Encryption Standard (DES) is a long-standing United States encryption standard that uses symmetric key encryption method, and in 1981 organized by ANSI standard is ANSI X.3.92. 56-bit DES key and password using the block method, the method in the code block, the text is divided into 64-bit size of the text block and then encrypted. Than the original DES, 3DES is more secure. Platform: |
Size: 6144 |
Author:Laura |
Hits: