Home:ALL Converter>Protecting AngelScript source code

Protecting AngelScript source code

Ask Time:2014-08-08T17:06:31         Author:Jeremy B.

Json Formatter

A few months ago I thought about adding AngelScript to my engine, which I will definitely do.

Now one thing I am worried about is protecting users source code. Indeed if I use AngelScript it's to make my game engine moddable (well actually the games I will make with it moddable), but even if I am an open source enthusiast, final commercial products must be protected, so my scripts source must be protected. Also I know some modders prefer their code to be protected.

The thing is, how do I do that? Encryption idioms? AngelScript bytecode? Knowing that one of the constraint is that all produced code is reusable, even if we cannot see the implementations.

Encryption is my first idea so if that's the thing you advice me to use, is there some better type of encryption to use (private/public key, encryption algortihm...)?

Thanks in advance for your answers !

Author:Jeremy B.,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/25199761/protecting-angelscript-source-code
yy