public static void Process(ModuleDefMD targetModule, string decryptionKey, bool encodeStrings = true, bool embedStrings = true, bool compressStrings = true) { decryptionKey = Runtime.ByteGuardHelper.GetMd5(decryptionKey); Encryption.EncryptStrings(targetModule, encodeStrings, decryptionKey); Embedding.EmbedStrings(targetModule, decryptionKey); }
public static void Process(ModuleDef targetModule, string decryptionKey, bool encryptConstants = true, bool embedConstants = true, bool compressConstants = true) { decryptionKey = Runtime.ByteGuardHelper.GetMd5(decryptionKey); if (encryptConstants) { Encryption.EncryptConstants(targetModule); } if (embedConstants) { Embedding.EmbedConstants(targetModule, decryptionKey); } }