Constants Protection

Encrypt strings, numbers and arrays, and mutate result.

Strings

Description

NETGuard offers to encode and encrypt string-based data. Strings are first encrypted using professional standard encryption algorithm to prevent any leak of data.

The encryption part partially relies on x86 machine code generated method to prevent decompilers to retrieve the code logic.Then the newly created piece of code is encoded using state of the art obfuscation techniques to prevent anyone from understanding the code.

The second step actually mutates the code into a meaningless code that makes the method safe from hackers.

Code Example

this.contextStatusBarPanel.Text = string.Format("CLR {0}.{1}", Environment.Version.Major, Environment.Version.Minor);

Numbers

Description

Numbers in your code can be very sensitive, and reveal a part of your keys. With that in mind, NETGuard uses the same logic we can find in string protection for integers and other numbers : x86 method encoding, strong encryption of actual value coupled with number decomposition.

Code Example

int num = int.MinValue;
int num2 = int.MinValue;
int num3 = 0;
int num4 = 0;

Obfuscation Impacts

Targets : Methods and Functions

Strength : ⭐⭐⭐⭐⭐

Some premium plans also have DRM Protection to put data used by the decoding routine usually stored in the file, on a safe remote server

Last updated