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

Property Keys Obfuscation

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

Tags: object,literal,string,property,objects,obfuscation

Description

Property Keys Obfuscation transforms object literal‘s properties into their hexadecimal representation.

Examples

Consider the following example:

1
2
3
4
5
var coordinate = {
x: function() { /* body */ },
y: 10
};
foo.y;

Property keys x and y have been replaced by their hexadecimal representations:

1
2
3
4
5
var foo = {
'x': function() { /* body */ },
'y': 10
};
foo.y;

API Parameters

Example:

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