Skip to content

Can I set obsucator NOT to covert numbers to hexadecimal? #1123

Description

@Tomcus

Hi, I have question if I can set for obfuscator not to convert numbers from decimal to hexadecimal.

For example default configuration on this:

let value = 10;

would end up like this:

let _0x17f4bc=0xa;

I know that I can get rid of the hexadecimal number by using identifierNamesGenerator: 'mangled-shuffled' in the config, but i didn't found any value for the numbers. Also would it be possible to have this conversion on the string array indexes?

Just to be sure the result from the examples, that I would like is:

let _0x17f4bc=10;

and with identifierNamesGenerator: 'mangled-shuffled':

let b=10;

Also I know that I can simply do find and replace and it would probably work, but I am just asking if there is anything available in the default script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions