String Encoding

Potency Low
Resilience Low
Cost Low
Tags: strings, unicode, encode, obfuscation

Description

String Encoding transforms a string into an encoded representation.

Code Annotation Example

// @jscrambler define stringEncoding {freq: 1} as se
// @jscrambler enable se

Examples

Consider the following string:

'abcde';

A possible encoded representation in JavaScript would be for instance in unicode:

'\u0061\u0062\u0063\u0064\u0065';

Option Types

Name Required Default Value Description
freq No 0.5 Probability of applying the transformation when the node allows for the transformation to happen.
min No N/A Minimum number of times the transformation is applied on the node.
max No -1 Maximum number of times the transformation is applied on the node.

API Parameters

Example:

{
  "keys": {
    "accessKey": "XXXXXX",
    "secretKey": "YYYYYY"
  },
  "applicationId": "ZZZZZZ",
  "params": [
    {
      "name": "stringEncoding",
      "options": {}
    }
  ]
}