.NET
tamper.txt
Associated article: Making .NET Assemblies Tamper Resistant
Tags: .NET
Published source code accompanying the article by Richard Grimes in which he unravels the .NET file structure and show how it prevents alterations from being performed on .NET assemblies.
Making .NET Assemblies Tamper-resistant
by Richard Grimes
Example 1:
byte[] CreateHash(byte[] data)
{
HashAlgorithm md5 = MD5.Create();
return md5.ComputeHash(data);
}
Example 2:
.file modone.netmodule
.hash = (DF 74 55 25 54 F0 1F E9 //.tU%T...
F1 3C 02 3D 97 0C 85 AE //.<.=....
88 82 34 19 ) // ..4.
.file nometadata strings....


