Trinity Obfuscator
  • Welcome to Trinity Info Desk
  • FAQ
    • File won't work after obfuscation
    • File detected as virus
    • My personal data
    • My file didn't come through
  • Protections
    • Code Protection
      • Control Flow
        • Dynamic Control Flow
        • Duplicate Control Flow
      • Constants
        • Mutate Constants
        • Constants Melt
        • Expression Constants
        • Math Protection
      • Junk Dump
      • Invalid Metadata
      • Module Flood
    • Name Protections
      • Name Protection
      • Reference Proxy
      • Locals to Fields
      • Decompiler Crash
      • Type Scrambler
    • Code Convertion
      • Virtualization
      • Call to Calli Conversion
    • Anti Protections
      • Force Elevation
      • Anti VM
      • Anti DnSpy
      • Anti Debug
      • Anti Dump
      • Anti Tamper
      • Anti De4dot
      • Process Monitor
      • Integrity Check
    • Free Protections
      • Executable Packer
      • String Encryptor
Powered by GitBook
On this page

Was this helpful?

  1. Protections
  2. Code Protection
  3. Constants

Math Protection

This protection converts all integers in the Assembly into maths equations that keeps the raw values out of the code.

Before Obfuscation
this.button1.Location = new Point(284, 190);
After Obfuscation
this.button1.Location = new Point(Convert.ToInt32(284.72656095075621 - Math.Tan(142.0)), Convert.ToInt32(189.26982643900519 + Math.Cos(95.0)));
PreviousExpression ConstantsNextJunk Dump

Last updated 6 years ago

Was this helpful?