Obfuscation

From NSB App Studio
Revision as of 21:43, 18 May 2017 by Ghenne (talk | contribs)
Jump to navigation Jump to search

Project Properties has the option to turn your deployed code into absolute gibberish. You won't be able to read it - nor will almost anyone else:

https://github.com/javascript-obfuscator/javascript-obfuscator

It has 4 levels:

  • js-obfuscator-low: Low obfuscation, High performance. Performance will slightly slower than without obfuscation
  • js-obfuscator-medium: Medium obfuscation, optimal performance. Performance will 30-35% slower than without obfuscation
  • js-obfuscator-high: High obfuscation, low performance. Performance will 50-100% slower than without obfuscation
  • js-obfuscator-custom: Design your own settings in the obfuscatorSettings property.

Low works for most apps, but medium and high have problems with some. Test carefully before releasing!