We will be at OWASP APPSEC EUROPE 2017 - Belfast! Let’s talk!MORE INFO

Help Center

Get to know more about our API, Code Annotations and Code Transformations

String Encoding

Potency
1 / 3
Resilience
1 / 5
Cost
0 / 5

Tags: strings,unicode,encode,obfuscation

Description

String Encoding transforms a string into an encoded representation.

Examples

Consider the following string:

1
'abcde';

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

1
'\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:

1
2
3
4
5
6
7
8
9
10
11
12
13
{
"keys": {
"accessKey": "XXXXXX",
"secretKey": "YYYYYY"
},
"applicationId": "ZZZZZZ",
"params": [
{
"name": "stringEncoding",
"options": {}
}
]
}