Obfuscator - Crytografy code
-
I work with c#.net and i need a obfuscator to Cryptography the code of the projects, for nobody can read the code using a reverse engineering. i would like to know which is the best obfuscator? Thanks Junior Lopes
Not possible. There is no such thing as an obsfucator that stops people from reading your code - the .NET framework needs to be able to read it. Christian Graus - Microsoft MVP - C++
-
Not possible. There is no such thing as an obsfucator that stops people from reading your code - the .NET framework needs to be able to read it. Christian Graus - Microsoft MVP - C++
-
so i can not protect my code, i mean if i do a small project and i want to sell this project, and then somebody can read my code? i can not hide or crytography ? how does the companies do ?
You can use C++, otherwise, you just have to hope for the best. Christian Graus - Microsoft MVP - C++
-
so i can not protect my code, i mean if i do a small project and i want to sell this project, and then somebody can read my code? i can not hide or crytography ? how does the companies do ?
You cannot prevent that your code is being read, but you can make the decompiled code harder to understand by using an obfuscator. Obfuscators rename all classes and methods, which makes guessing what the code does much harder. You can also use Salamander Protector to compile .NET assemblies to native code, but it's expensive...
-
You cannot prevent that your code is being read, but you can make the decompiled code harder to understand by using an obfuscator. Obfuscators rename all classes and methods, which makes guessing what the code does much harder. You can also use Salamander Protector to compile .NET assemblies to native code, but it's expensive...
Be aware that even compiling into native code won't stop a determined hacker from being able to bypass your regisitration routines. Ultimately whatever you do your code will be turned into x86 assembly, and it's execution can be monitored in a debugger. This is why even though game companies spend millions on copyprotection cracked versions are out within days.
-
so i can not protect my code, i mean if i do a small project and i want to sell this project, and then somebody can read my code? i can not hide or crytography ? how does the companies do ?
The way obfuscators work is to rename variables, class members and such to - for a human reader - meaningless names. So even if you decompile the code, your classes will have methods similar to this:
void a(string a, int b)
But that just makes it harder for a human reader to understand your code, not impossible to read. There are also cases where obfuscators can't hide everything because the program itself is relying on constant method names, for example when using reflection. Regards, mav
-
I work with c#.net and i need a obfuscator to Cryptography the code of the projects, for nobody can read the code using a reverse engineering. i would like to know which is the best obfuscator? Thanks Junior Lopes
Why do you want to do that? Does it matter if someone sees your code? If he isn't able to see the code he could simply look at the assembly (either the real or the MSIL) and that way figure out how it works. What's the purpose then? Niklas Ulvinge aka IDK
-
You cannot prevent that your code is being read, but you can make the decompiled code harder to understand by using an obfuscator. Obfuscators rename all classes and methods, which makes guessing what the code does much harder. You can also use Salamander Protector to compile .NET assemblies to native code, but it's expensive...
Obfuscators don't rename all classes and methods - only internals and privates. There could be an obfuscator that - given all assemblies for an application - obfuscates anything but then your assemblies would not be easily reusable, either. What would happen if third-party component developers obfuscated their public classes? It would be difficult to use them and in some cases impossible, since IL allows for characters for methods, properties, etc., that are not allowed in source languages like C# and VB.NET. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Customer Product-lifecycle Experience Microsoft [My Articles] [My Blog]
-
I work with c#.net and i need a obfuscator to Cryptography the code of the projects, for nobody can read the code using a reverse engineering. i would like to know which is the best obfuscator? Thanks Junior Lopes
Stop looking for the best, no protection scheme is 100% secure. instead look for a obfuscation which offers good enough protection, and which is easy to use and reasonably priced and that you get prompt tech support. Have a look at Crypto Obfuscator