ill write an example code in a few minutes
EDIT: //there you go
Code:
#include <windows.h>
#include <stdio.h>
char plain_password[] = "mypw";
char encrypted_password[] = ",816A";
void encrypt(char string[])
{
int B,A = sizeof(plain_password);
for(B=0;B<A;B++)
string[B] ^= 'A';
}
void decrypt(char string[])
{
int B,A=sizeof(encrypted_password);
for(B=0;B<A;B++)
string[B] ^= 'A';
}
int main()
{
encrypt(plain_password);
printf("plain_password[] is now: %s\n", plain_password);
decrypt(encrypted_password);
printf("encrypted_password[] is now: %s\n", encrypted_password);
return 0;
}
if you use this way and if you open the exe with a hex editor or even with notepad, u wont see 'mypw' but ',816A' and they need to know your function to decrypt it