This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
rhj91's profile picture

Help for making a program that encrypts code to prevent it from being viewed

Started by rhj91, 19 January 2014 - 10:36 PM
rhj91 #1
Posted 19 January 2014 - 11:36 PM
I was wondering the following questions before I start making it

1: Is it possible
2: Can it be in two different programs
3: Can it be hacked easily
4: Can it encrypt it
5: Is a program like this recommended for a beginner?
6: What parts of Lua would I need to know?

Thank you for reading this and criticism is always welcome!
Lyqyd #2
Posted 20 January 2014 - 10:15 AM
1-4: Yes.
5: Probably not.
6: stuff.

Obfuscated/encrypted code may not be posted to the forums.
robhol #3
Posted 20 January 2014 - 11:21 AM
1: Theoretically no such solution will be even close to perfect, in practice you can make it enough of a pain in the ass to prospective "hackers" that nobody's gonna bother.
2: Probably, although it's not that easy to know what you're talking about
3: Depends. It's possible to decompile code relatively easily, but you may be able to do something clever using encryption and a sufficiently weird way of hiding the key… :P/>
4: what
5: No.
6: At the very least, enough to answer these questions on your own. See 5.