1 #include<iostream> 2 #include<cstdio> 3 #include<cstdlib> 4 #include<ctime> 5 #include<cmath> 6 #include<cstring> 7 #include<string> 8 #include<windows.h> 9 #define MAX 100 10 11 using namespace std; 12 13 char key[MAX]; 14 int len; 15 16 char *bitcode(char *str){ 17 char *wen; 18 if((wen = (char*)malloc(len+1))==NULL){ 19 cout<<"申请内存失败!"<<endl; 20 exit(1); 21 } 22 for(int i=0; i<len; i++){ 23 wen[i] = str[i]^key[i]; 24 } 25 wen[len] = '