# Constants

\
Trinity encrypts string-based data using Constants. This protection encodes and mutates all strings within the Assembly.

The original string is then put through an encryption phase where it is converted into a brand new string. This string is then mutated into different parts that are put back together and decrypted to the original string at runtime.

{% code title="Before Obfuscation" %}
```csharp
public string lol = "Hi";
```
{% endcode %}

{% code title="After Obfuscation" %}
```csharp
public string lol = <Module>.WindowsFont<string>(369073962u, (uint)(((((("2065245446".Length * Type.EmptyTypes.Length ^ "189995492".Length) - "J儿iV".Length - (int)0.48304950049289014) * "555539666".Length - "zWixFgj^屁h伊gE$gQ艾xJP$R诶伊艾p诶8Wi屁J诶A儿艾Wz艾吉%KDK6勒Ps杰SAl7*娜屁3FxplVp艾APud%G开#x5弗An4qC弗伊诶e娜/诶sQorrb娜*sv6kqXLXPZ#伊b娜5%艾p艾OJ#k艾5^c8Zp伊9N弗2e3Ta吉JyQZr娜伊z吉UsbfQD3l%ZXV诶艾z诶cUjKZlYorelu6艾".Length - (int)0.49679421097822218 - "杰艾伊杰f儿弗3艾9艾开伊诶WD6zq伊pI^艾GI*伊艾LsIZ艾诶8艾c娜DcTWVL6y5^伊S诶d娜3Nx伊O勒C伊*6Q$N弗q艾54H伊艾迪诶rX弗kiub娜GE迪NKJ娜8vap伊弗f艾sGO诶C艾Yqj吉2gK*8t^^*jG迪Y伊Z弗儿l吉4艾诶l诶3吉%R艾d娜n81娜DU开9尺Xmx艾NV屁9y3开ME1艾8诶7l娜Zv诶#".Length - "Bsj艾艾wAcXgg诶迪qKg儿ftqjP哦h6uI伊娜伊ACs8%uM哦$cC艾艾xUr弗吉we吉Tc诶1诶JcM伊伊Mu艾伊诶6jWp%nOq艾t168ND5#诶开屁AOg娜诶KR艾o艾迪qS迪7娜CgK艾f诶艾HF诶O艾TD杰Q吉艾Xqc*ED迪1c艾WJn艾屁VB5Nu杰OZ艾Xi艾SP诶nAMUsQ伊9伊gcY哦艾娜艾0Yr艾brd5".Length - (int)0.085197816176897756 - "wj#CqwIxlr诶w艾*艾L/*娜Grw69艾3SRBQ哦艾w屁xj伊XSZ艾伊N^f9艾儿伊伊CIJ迪N艾XcO9诶艾儿%H艾艾qP06suC9L哦开4A5V^VnU71Oy6诶i娜伊屁哦艾Ep9屁2pukngibq5SodCyU1伊CT伊qd娜jK1尺3j0O$伊诶WBcH1RMibF诶尺T3IsR吉pfKlLb伊1BSg艾dWBH伊tX".Length - Math.Max(519136995, 683530325) - (int)Math.Sqrt(134732728.10122141) - "Z伊bJicXo5gyu艾r3W勒4K艾b5ap诶bgBSZm尺p/弗jn迪Cj艾伊sT".Length - Math.Min(1405487153, 1745431203)) * "170098497".Length - Math.Max(1696134981, 140385136)) * "666151252".Length - Math.Min(1381877382, 140236198)) * "923563541".Length - Math.Max(1913561075, 522261423) - "786475634".Length), (uint)"dyp诶Va5吉MDW艾伊诶Ph儿w迪f诶RfvASIaBAbnL1m迪吉C伊R艾HN诶".Length, Math.Min(903400758, 1381985009) - Math.Max(950051858, 2020176951 - "s艾GBBvm^rnY6s开Wd^4XlCJ4w艾艾u*Qyk8etcElh艾goJ儿y".Length));
```
{% endcode %}
