Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
4

I've heard about Encryption

Asked by
ImageLabel 1541 Moderation Voter
9 years ago

"Lua code" Encryption

How would one go about doing such a thing!

2 answers

Log in to vote
3
Answered by
MunimR 125
9 years ago

Pretty much impossible most people just overuse the term over obfuscation. Obfuscation is just when you hide how the code looks then run it (most people turn a script into a string then loadstring it). This doesn't really do anything since most exploiters use cheat engine (which read memory or something like that, I aint no exploiting master dude). If you want to protect your code try to avoid using localscripts (as exploiters can read them and then modify stuff on workspace and such).

2
Ay. Danke. ImageLabel 1541 — 9y
1
No problem, glad I could help! MunimR 125 — 9y
1
One way to use LocalScripts securely is to use a Remote* object to extract all actually functionality to a server Script, leaving the LocalScript just being skeleton code. adark 5487 — 9y
Ad
Log in to vote
1
Answered by
modFrost 130
9 years ago

If you are looking to have a password type saving system you would need a Hash function (SHA1,SHA256). For encryption you could use string.byte to encrypt it into it's number form and then use string.char to convert it back to text at a later time.

Answer this question