Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
irrFuscator version: 2.1 platform: MacOS sample code: var obj:Object = { "key": "value" }; or var obj:Object = { key: "value" }; after enabling the option to encrypt strings, both sample code will have the following generated results: var obj:Object = { irrcrpt("xxxxxx", 1): irrcrpt("yyyyyy", 2) }; which will have the following compilation error: Error: Syntax error: expecting colon before leftparen. It is useless to include "key" into "Ignore Symbols" list either. Please advise. |
||||
|
Thanks for the bug report. irrFuscator simply didn't expect this syntax combined with string encryption, so it is a bug. (will be fixed in a future version.) Workaround for now: Either use another syntax to create the object (the dot syntax should work seemlessly as well) or disable string encryption for now. Third option: compile your code and use the binary obfuscator of irrfuscator. |
|