Little Fighter Empire - Forums
Real Cryptography - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: General Zone (https://lf-empire.de/forum/forumdisplay.php?fid=23)
+--- Forum: Programming (https://lf-empire.de/forum/forumdisplay.php?fid=50)
+--- Thread: Real Cryptography (/showthread.php?tid=8064)



Real Cryptography - A-Man - 07-16-2012

Hello guys,
Well, I have been into programming this past year and I started learning it. Now I can't get the concept above. I do understand how text encryption and decryption works, but I can't get how its done with files. So lets take .dat lf2 files for instance. I do understand that the dat file is decrypted back to normal text but how? What kinda algorithm does it use? does it take the text in it and play with its ascii value for example? or is the structure of the file itself that changes??


RE: Real Cryptography - Boop - 07-16-2012

I wouldn't say this is "Real Cryptography" it's extremely basic cryptography. You are kinda right. It takes the value of each byte and adds/subtracts the value of the key to it to get the original byte.

This is extremely extremely basic encryption.


RE: Real Cryptography - Som1Lse - 07-16-2012

You can download the source to my Data Changer.
It decrypts the files, so you might learn from that.

Blue Phoenix wrote some java code to do the decryption as well:
http://www.lf-empire.de/forum/thread-1877.html


RE: Real Cryptography - blow_fly98 - 07-18-2012

And here is a thread that was made earlier about the encryption / decryption of LF2 DAT files.
http://www.lf-empire.de/forum/thread-5678.html
VB.NET to C# converter if you need.