文件名称:XOR
-
所属分类:
- 标签属性:
- 上传时间:2013-10-28
-
文件大小:779byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
从最简单的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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.