Been taking a C/C++ class this week .. while looking through string.h (for what, I’m not sure) I noticed this:
/* Sautee STRING briskly. */ extern char *strfry (char *__string) __THROW;
The GNU C Library Manual page for strfry() explains it is the answer to ‘the perennial programming quandary: “How do I take good data in string form and painlessly turn it into garbage?”‘
The function that follows in string.h (and in the manual) is this one:
/* Frobnicate N bytes of S. */ extern void *memfrob (void *__s, size_t __n) __THROW;
a nice function that “encrypts” your data ‘by bitwise exclusive oring it with binary 00101010’ … which you’ll notice happens to be decimal 42.