文件名称:TwoMain
介绍说明--下载内容均来自于网络,请自行研究使用
自解密的加密程序的制作,是为了保证自己的数据不被别人非法地窃取,有必要对数据文件进行适当地加密。本程序采取一定的算法,对密码和数据进行加密,生成一个自解密的EXE文件。这个自解密文件是由两部分组成的。第一部分为可执行代码部分,其作用是对密码进行判断,对数据进行解密;后一部分是被加过密的密码和数据。
本程序分两个模块进行编写。第一个是main.c,它是用来进行加密,产生EXE文件的;第二个是main2.c,它是用来解密的。分别对它们进行编译生成main.exe和main2.exe,再对其进行合并即可。
合并方法如下:
COPY /B main.EXE+main2.EXE Key.EXE(注意main.EXET和main2.EXE的顺序)
使用时请按下列格式键入。
Key〈欲加密文件〉〈产生后的EXE文件名〉
按提示输入密码后将生成指定的可执行文件。解密时运行这个可执行文件。输入密码后(若输入三次都不正确,将退出解密程序),即把原文件内容还原到你指定的文件中。解密程序格式如下。 可执行文件名 (filename)
第一个源代码文件 main.c
第二个源代码文件main2.c
上述程序在TC2.0集成环境里通过
-since declassified encryption program production, in order to ensure that their data is not illegal to steal other people, it is necessary to conduct appropriate data file is encrypted. This program will adopt the algorithm, the passwords and data encryption, generating an EXE from the declassified documents. Since this document was declassified by the two components. The first part of the executable code, and its role is to password judgment, the data decryption; The latter part is additionally dense passwords and data. The procedure for the preparation of two modules. The first one is main.c, it is used for encryption, generated EXE file; The second is main2.c. it is used declassified. They were compiled and main2.exe main.exe generation, and its merger can be. The merger is as follows :
本程序分两个模块进行编写。第一个是main.c,它是用来进行加密,产生EXE文件的;第二个是main2.c,它是用来解密的。分别对它们进行编译生成main.exe和main2.exe,再对其进行合并即可。
合并方法如下:
COPY /B main.EXE+main2.EXE Key.EXE(注意main.EXET和main2.EXE的顺序)
使用时请按下列格式键入。
Key〈欲加密文件〉〈产生后的EXE文件名〉
按提示输入密码后将生成指定的可执行文件。解密时运行这个可执行文件。输入密码后(若输入三次都不正确,将退出解密程序),即把原文件内容还原到你指定的文件中。解密程序格式如下。 可执行文件名 (filename)
第一个源代码文件 main.c
第二个源代码文件main2.c
上述程序在TC2.0集成环境里通过
-since declassified encryption program production, in order to ensure that their data is not illegal to steal other people, it is necessary to conduct appropriate data file is encrypted. This program will adopt the algorithm, the passwords and data encryption, generating an EXE from the declassified documents. Since this document was declassified by the two components. The first part of the executable code, and its role is to password judgment, the data decryption; The latter part is additionally dense passwords and data. The procedure for the preparation of two modules. The first one is main.c, it is used for encryption, generated EXE file; The second is main2.c. it is used declassified. They were compiled and main2.exe main.exe generation, and its merger can be. The merger is as follows :
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 75448145twomain.rar 列表 main.c main2.c