121321
This commit is contained in:
@@ -10,8 +10,8 @@ char CutcodeChar(char c, int key, int key2) {
|
||||
}
|
||||
|
||||
//解密
|
||||
void Cutecode(char* pstr, int* pkey) {
|
||||
int len = strlen(pstr);
|
||||
void Cutecode(char* pstr, int* pkey,int len) {
|
||||
if(len == -1)len = strlen(pstr);
|
||||
for (int i = 0; i < len; i++)
|
||||
*(pstr + i) = CutcodeChar(*(pstr + i), pkey[i % 5], pkey[(i + 18) % 5]);
|
||||
}
|
||||
Reference in New Issue
Block a user