Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > Reverse Code Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 10-30-2019, 12:23 AM
butaktelco butaktelco is offline
Senior Member
Join Date: Feb 2008
Posts: 74
Default XOR Encryption

anybody know XOR algorithm, i have discover on the net still don't get any result.

there is code for decrypting.

char *result_decode = new char[100];
for(int i = 1; i < 100; ++i){
result_decode[i]= encode_data[i] ^ (0xE3 << (i & 3));
any suggestion how to encryption back of byte.
Reply With Quote
Old 11-02-2019, 12:55 PM
tonyweb tonyweb is offline
Join Date: May 2011
Posts: 9

Just "swap" 'result_decode' and 'encode_data'.
Xor is a reversible operation.

Reply With Quote
Old 11-13-2019, 02:24 PM
CodeRipper CodeRipper is offline
Join Date: Mar 2009
Location: Romania
Posts: 25
Default Xor is his own inverse!!!

XOR is commutative, associative, and its own inverse.
More reads:
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.