Last active
August 29, 2015 14:22
-
-
Save merces/ca5aef8fbd09f2d66224 to your computer and use it in GitHub Desktop.
Looping and modifying without changing its pointer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void encrypt(char *dest, size_t size) | |
{ | |
while (size--) | |
*dest++ ^= 0x69; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment