How simple?
______________________________________________________________________
Perfection in engineering does not happen when there is nothing more to add.
Rather it happens when there is nothing more to take away.
/* it works if both are the same */
printf("%s|%s|\n", password, buffer);
exit(0);
}
/*
* encode/decode 'str' with 'key' using the XOR
* algorithm. This algorithm is from Applied Cryptography
# by Bruce Schneier.
*/
int xor(str, key, len)
char *str;
char *key;
int len;
{
char *keys;
int str_len;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.