摘要: C 使用异或(XOR)加密/解密文件之前写过一篇《php 使用异或(XOR)加密/解密文件》,但php执行的速度很慢,因此这次使用C重写,速度有很大的提高。xor_encrypt.c/** XOR 加密/解密文件 */#define TRUE 1#define FALSE 0#include #include #include #include // 如果在/usr/include/找不到,可以在/usr/include/sys/复制过去// 输出信息void msg_log(char *str);// 判断文件是否存在int file_exists(char *filename);... 阅读全文
posted @ 2014-03-05 01:33 傲雪星枫 阅读(627) 评论(0) 推荐(0) 编辑