文件名称:经典rsa
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 杨
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.
首先要把文件夹中的rsa.c文件拷贝到运行工具(如TURBOC2)下文件夹名为INCLUDE的文件夹中。
(在本机上已经做过,所以不需要做)
2.
RSA的加密对象为C盘下文件名为CODE.txt的前8位(如果没有一定要在C盘下建立一个文件名为CODE.txt的文件,
把要加密的数据写到文件里),加密后在C盘下生成一个文件名为RSACIPER.txt文件。
(在本机上已经做过,所以不需要做以上二步)
但在其它机子上一定得完成以上二步,方可运行。
3.
RSA的解密对象为C盘下文件名RSACIPER.txt文件,解密后在C盘下生成为End_CODE.txt文件。
运行步骤 (计算PK SK R)-->(A_RSA加密)-->(A_RSA解密)。
-1. First, it is necessary folder of documents copied to rsa.c running tools (eg TURBOC2) folder called INCLUDE of folders. (In this plane has been done, so there was no need to do) 2. RSA encryption target for the C-CODE.txt document, entitled under the former eight (if not necessarily in the C- to establish a document titled CODE.txt documents, the encrypted data to document wrote), encryption in the next generation C-1 document, entitled RSACIPER.txt document. (In this plane has been done, so there was no need to do the above two-step) but on the other machine had to complete the above two steps before running. 3. RSA decryption target for the C-under File Name RSACIPER.txt documents, declassified after the C-Descent into End_CODE.txt document. Run steps (PK calculated SK R )-->( A_R
首先要把文件夹中的rsa.c文件拷贝到运行工具(如TURBOC2)下文件夹名为INCLUDE的文件夹中。
(在本机上已经做过,所以不需要做)
2.
RSA的加密对象为C盘下文件名为CODE.txt的前8位(如果没有一定要在C盘下建立一个文件名为CODE.txt的文件,
把要加密的数据写到文件里),加密后在C盘下生成一个文件名为RSACIPER.txt文件。
(在本机上已经做过,所以不需要做以上二步)
但在其它机子上一定得完成以上二步,方可运行。
3.
RSA的解密对象为C盘下文件名RSACIPER.txt文件,解密后在C盘下生成为End_CODE.txt文件。
运行步骤 (计算PK SK R)-->(A_RSA加密)-->(A_RSA解密)。
-1. First, it is necessary folder of documents copied to rsa.c running tools (eg TURBOC2) folder called INCLUDE of folders. (In this plane has been done, so there was no need to do) 2. RSA encryption target for the C-CODE.txt document, entitled under the former eight (if not necessarily in the C- to establish a document titled CODE.txt documents, the encrypted data to document wrote), encryption in the next generation C-1 document, entitled RSACIPER.txt document. (In this plane has been done, so there was no need to do the above two-step) but on the other machine had to complete the above two steps before running. 3. RSA decryption target for the C-under File Name RSACIPER.txt documents, declassified after the C-Descent into End_CODE.txt document. Run steps (PK calculated SK R )-->( A_R
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rsa.c