开发者

C++ XOR key is too long?

I have a XOR key (dfficvvifvdfher89429338jwesjcnasidneufhrfdfha23p3rwe23323nc开发者_如何学Pythondnhj) but it seems to be way too long, even for long long format.

How can I use this key and get rid of "error C2177: constant too big"?


Put each value into a distinct char in a char array, i.e.:

const char xor_key[] = "dffic...";

You then XOR however-many characters against the key at a time, then use the key again at the next character after that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜