[Lib] LOVEE [Love Encryption] Encrypt lua files & Images
- 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
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.
Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images
I didn't bother reading about it, it doesn't interest me.Robin wrote:Good. Did you also found the part where it talks about why this method shouldn't be used?
Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images
Stolen from the MTA Source code and slightly modified by a third party.Robin wrote:What's the name of that algorithm?Atton wrote:Try this.
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images
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.
But seeing as there's a decode function, this is again laughably easy to decrypt for oneself.
Me and my stuff True 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.
- 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
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.
Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images
Xor it and it should be pretty hard to find. Well that is assuming you are working with C++.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.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: [Lib] LOVEE [Love Encryption] Encrypt lua files & Images
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)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: No registered users and 0 guests