XOR EncryptionHey Guys , I need help with encrypting strings in Redemptions Base v1.0 using Xor.h : #include "Includes.h" template <int XORSTART, int BUFLEN, int XREFKILLER> class XorStr { private: //so you dont know ? XorStr(); public: char s[BUFLEN]; XorStr(const char * xs); ~XorStr() { for ( int i = 0; i < BUFLEN; i++ ) s[i]=0; } }; template <int XORSTART, int BUFLEN, int XREFKILLER> XorStr<XORSTART,BUFLEN,XREFKILLER>::XorStr(const char * xs) { int xvalue = XORSTART; int i = 0; for ( ; i < ( BUFLEN - 1 ); i++ ) { s[ i ] = xs[ i - XREFKILLER ] ^ xvalue; xvalue += 1; xvalue %= 256; } s[BUFLEN - 1] = 0; } ----------------------------------------- Please add me @ My MSN @ crashinfinity @ hotmail.com and TV Me ! If there's any program that auto encrypts the string automatically , please reply and link me ! This is the only thing holding me back from releasing a hack on here
@teehee15 I got one . http://www.tutogames.xpg.com.br/xorgen.html Thanks for replying though ! Add my MSN . Let's be coding friends?
Originally Posted by ZinisterCoder @teehee15 I got one . http://www.tutogames.xpg.com.br/xorgen.html Thanks for replying though ! Add my MSN . Let's be coding friends? Just added you a minute ago.. Maybe.