char *rotKeys(char *key){ int x,y; char *ret = (char *)calloc(8, 1); for(x=0;x<=7;x++,key++) { for(y=0;y<=7;y++) { ret[y]|=(!!(*key&(1<<y)))<<x; } } return ret;}
Post a Comment
No comments:
Post a Comment