[Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Robin »

Good. Did you also found the part where it talks about why this method shouldn't be used?
Help us help you: attach a .love.
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Azhukar »

Robin wrote:Good. Did you also found the part where it talks about why this method shouldn't be used?
I didn't bother reading about it, it doesn't interest me.
Atton
Prole
Posts: 15
Joined: Mon Aug 26, 2013 1:38 pm

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Atton »

Robin wrote:
Atton wrote:Try this.
What's the name of that algorithm?
Stolen from the MTA Source code and slightly modified by a third party.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by zorg »

Actually, going by the names of the functions, it's rather the XTEA algorithm, not TEA. (or both, idk)
But seeing as there's a decode function, this is again laughably easy to decrypt for oneself.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Robin »

And then there's the fact that the code that uses this has to store the password in plaintext, otherwise no-one can even play the game.
Help us help you: attach a .love.
Atton
Prole
Posts: 15
Joined: Mon Aug 26, 2013 1:38 pm

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Atton »

Robin wrote:And then there's the fact that the code that uses this has to store the password in plaintext, otherwise no-one can even play the game.
Xor it and it should be pretty hard to find. Well that is assuming you are working with C++.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images

Post by Positive07 »

Store each character in an int, 16 bits are enough, left shift each character four bit, to decode, just right shift them... It looks like cr*p in a hex editor
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests