Mixed string array encoding prototype (#727)

`stringArrayEncoding` option now accepts an array of encodings. Each string will be randomly encoded with passed encoding.
This commit is contained in:
Timofey Kachalov
2020-08-30 21:10:46 +03:00
committed by GitHub
parent 8c91a254be
commit 42ff66849e
39 changed files with 545 additions and 232 deletions
@@ -34,7 +34,11 @@ describe('JavaScriptObfuscator runtime eval', function () {
splitStrings: true,
splitStringsChunkLength: 5,
stringArray: true,
stringArrayEncoding: StringArrayEncoding.Rc4,
stringArrayEncoding: [
StringArrayEncoding.None,
StringArrayEncoding.Base64,
StringArrayEncoding.Rc4
],
stringArrayThreshold: 1,
transformObjectKeys: true,
unicodeEscapeSequence: true