Protecting AngelScript source code

406 Views Asked by At

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 !

0

There are 0 best solutions below