SimpleRev
作者:互联网
SimpleRev
#include <stdio.h>
#include <string.h>
int main(){
int v3=10;
char text[]="killshadow";
char key[]="adsfkndcls";
int len=strlen(key);
for(int i=0;i<strlen(text);i++){
for(int j=0;j<123;++j){
if(text[i] == ((j - 39 - key[v3 % len] + 97) % 26 + 97)){
if((j>64&&j<=90) || (j>96&&j<=122)){
printf("%c",j);
v3++;
break;
}
}
}
}
return 0;
}
标签:&&,int,char,key,SimpleRev,include 来源: https://www.cnblogs.com/0xK4ws/p/15657857.html