Hi,

We are using JS / SpiderMonkey VM / C++ to ship games for mobile devices 
(ios/android).

What we want to do is to "protect" the JavaScript source code.

Currently we are using JS_EncodeScript / JS_DecodeScript to protect it. So, 
instead of shipping the JS files, we are shipping the "encoded scripts" instead.

The question is: is it possible to obtain the original JS file from the encoded 
script ?

If so, what "protection" methods do you recommend ? 

Thanks,

_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to