文件名称:XOR
介绍说明--下载内容均来自于网络,请自行研究使用
从最简单的XOR加密入手吧,编写一个程序,这个程序的功能是这样的,读取animation.cfg文件中前16字节的内容,然后使用0~255之间任一个数值和从animation.cfg文件中提取出来的这16个字节(实际可以提取更多字节作比较,这里只提取文件前16字节)作XOR运算,最后将这256组经过XOR运算的数据放在一起作比较,看哪组数据XOR运算后看上去比较有意义而不是垃圾数据。
按照上面的思路编写出如下C语言代码:-From the most simple XOR encryption to start it, write a program that functions like this, read the first 16 bytes of the file animation.cfg the content, and then use either a 0 to 255 values and from animation.cfg this extract file 16 bytes (effective to extract more bytes to compare, this extract only the first 16 bytes of the file) XOR operation, and finally through these XOR operation 256 with the data on the comparison, Behold set of data after the XOR operation looks more meaningful instead of junk data.
Accordance with the above ideas write C code as follows:
按照上面的思路编写出如下C语言代码:-From the most simple XOR encryption to start it, write a program that functions like this, read the first 16 bytes of the file animation.cfg the content, and then use either a 0 to 255 values and from animation.cfg this extract file 16 bytes (effective to extract more bytes to compare, this extract only the first 16 bytes of the file) XOR operation, and finally through these XOR operation 256 with the data on the comparison, Behold set of data after the XOR operation looks more meaningful instead of junk data.
Accordance with the above ideas write C code as follows:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
XOR.txt