Simple Encryption/Decryption:
Code:
char* FlameCrypt(char string[], int key)
{
int length = strlen(string);
char* tempstring = new char[length + 1];
for (int i = 0; i < length; i ++)
tempstring[i] = string[i] + key;
tempstring[length] = 0;
return tempstring;
}
char* FlameDecrypt(char string[], int key)
{
int length = strlen(string);
char* tempstring = new char[length + 1];
for (int i = 0; i < length; i ++)
tempstring[i] = string[i] - key;
tempstring[length] = 0;
return tempstring;
}
Step Encryption/Decryption
Code:
char* FlameCrypt(char string[], int key)
{
int length = strlen(string);
char* tempstring = new char[length + 1];
for (int i = 0; i < length; i ++)
{
int KeyStep = key + i;
tempstring[i] = string[i] + KeyStep;
}
tempstring[length] = 0;
return tempstring;
}
char* FlameDecrypt(char string[], int key)
{
int length = strlen(string);
char* tempstring = new char[length + 1];
for (int i = 0; i < length; i ++)
{
int KeyStep = key + i;
tempstring[i] = string[i] - KeyStep;
}
tempstring[length] = 0;
return tempstring;
}
I made both of them myself, Now to explain the encryption method.
Code:
//The definition of the function.
char* FlameCrypt(char string[], int key)
{
//length = the ammount of characters in the string you are trying to encrypt/decrypt.
int length = strlen(string);
//tempstring = It stores temporary information while you are encrypting/decypting.
char* tempstring = new char[length + 1];
//a for loop to loop through all the characters, and add the ammount integers that you defined as the 'key'
for (int i = 0; i < length; i ++)
tempstring[i] = string[i] + key;
//Convert the tempstring so you can return it as as a complete word or mumbo jumbo.
tempstring[length] = 0;
//return the completed shit.
return tempstring;
}
Usage.
Code:
int main()
{
char* String;
cout << "Encrypting: Steven is awesome jaja:" << endl;
String = FlameCrypt("Steven is awesome jaja:", 5);
cout << "Encrypted String: " << String << endl;
cout << "" << endl;
cout << "Decrypting: " << String << endl;
String = FlameDecrypt(String, 5);
cout << "Decrypted String: " << String << endl;
cout << "" << endl;
cout << "Encryption Example: Flameswor10 (key = 1 - 9)" << endl;
cout << "" << endl;
for (int i = 1; i < 10; i ++)
cout << FlameCrypt("flameswor10", i) << endl;
system("pause");
return 0;
}
Now, you can learn how to implement it into your hack.
Hackshield looks for some text such as Aimbot and other stuff, so if you use my encryption. Not only will it get rid of Hex Edit Leechers, it will also make your hack a bit more undetected.
Step Encryption:
Simple Encryption:
Enjoy, I hope you learn something.
Ofcourse, you can edit it and make it even more complicated, there are endless ammounts of editing you can do, you can even add hex values to the text.