文件名称:RC5-CTS
介绍说明--下载内容均来自于网络,请自行研究使用
RC5-CTS模式加密解密算法C++程序实现。
解压之后运行main.dsw.在VC++下面打开,执行之后根据显示首先输入密钥(随便输入不超过16字节的字符串),之后提示输入需要加密的plaintext文件,输入plaintext1.txt,这个文件在压缩包里已经存在,(注意一定要写清楚文件类型名,是个文本文件),然后根据提示输入加密文件名,可随便输入一个文件名,但是别忘记了类型名.txt,如ciphertext1.txt。因为不输入类型名将来无法打开。之后输入解密之后的文件名,可输入decrypted.txt
结束。
之后打开生成的ciphertext1.txt和decrypted.txt,还有原来的明文文件plaintext1.txt,可以看出decrypted.txt和plaintext1.txt内容一致。ciphertext1.txt由plaintext1.txt加密得到,而decrypted.txt由ciphertext1.txt解密得到-RC5- CTS mode encryption and decryption algorithm C program. After running main.dsw decompression. The VC Below opened, after the implementation of the first to suggest that the importation of key (casual importing more than 16 byte string), followed by the need to import suggest encrypted plaintext documents, the importation of plaintext1.txt, this document compression bag already exists. (Note that certain types of documents to write clearly, is the text document), then prompted to input encrypted file name, could easily enter a file name, but not forget the type name. txt, as ciphertext1.txt. Because we do not import the type who could not open the future. After following the importation of declassified documents, and can import decrypted.txt end. After opening generated ciphertext1.tx
解压之后运行main.dsw.在VC++下面打开,执行之后根据显示首先输入密钥(随便输入不超过16字节的字符串),之后提示输入需要加密的plaintext文件,输入plaintext1.txt,这个文件在压缩包里已经存在,(注意一定要写清楚文件类型名,是个文本文件),然后根据提示输入加密文件名,可随便输入一个文件名,但是别忘记了类型名.txt,如ciphertext1.txt。因为不输入类型名将来无法打开。之后输入解密之后的文件名,可输入decrypted.txt
结束。
之后打开生成的ciphertext1.txt和decrypted.txt,还有原来的明文文件plaintext1.txt,可以看出decrypted.txt和plaintext1.txt内容一致。ciphertext1.txt由plaintext1.txt加密得到,而decrypted.txt由ciphertext1.txt解密得到-RC5- CTS mode encryption and decryption algorithm C program. After running main.dsw decompression. The VC Below opened, after the implementation of the first to suggest that the importation of key (casual importing more than 16 byte string), followed by the need to import suggest encrypted plaintext documents, the importation of plaintext1.txt, this document compression bag already exists. (Note that certain types of documents to write clearly, is the text document), then prompted to input encrypted file name, could easily enter a file name, but not forget the type name. txt, as ciphertext1.txt. Because we do not import the type who could not open the future. After following the importation of declassified documents, and can import decrypted.txt end. After opening generated ciphertext1.tx
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Final Codes
...........\Debug
...........\main.cpp
...........\main.dsp
...........\main.dsw
...........\main.ncb
...........\main.opt
...........\main.plg
...........\plaintext1.txt
...........\RC5.h
...........\RC5_CTS.h
...........\Debug
...........\main.cpp
...........\main.dsp
...........\main.dsw
...........\main.ncb
...........\main.opt
...........\main.plg
...........\plaintext1.txt
...........\RC5.h
...........\RC5_CTS.h