The .NET Encryption Library supports the newest hashes to verify file integrity. It also supports CRC32 and Adler32
https://en.wikipedia.org/wiki/Cyclic_redundancy_check
https://en.wikipedia.org/wiki/Adler-32
CRC32 Examples
C# | Copy Code |
---|---|
Encryption encryption = new Encryption(); //Trial Mode //Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode File.WriteAllText("input.txt", "This is a test"); string results = encryption.GetFileCRC32Hex("input.txt"); Console.WriteLine(results); |
VB.NET | Copy Code |
---|---|
Dim encryption As New Encryption() 'Trial Mode 'Dim encryption As New Encryption("place user name here", "place license key here") 'License Mode File.WriteAllText("input.txt", "This is a test") Dim results As String = encryption.GetFileCRC32Hex("input.txt") Console.WriteLine(results) |
Adler32 Examples
C# | Copy Code |
---|---|
Encryption encryption = new Encryption(); //Trial Mode //Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode File.WriteAllText("input.txt", "This is a test"); string results = encryption.GetFileAdler32Hex("input.txt"); Console.WriteLine(results); |
VB.NET | Copy Code |
---|---|
Dim encryption As New Encryption() 'Trial Mode 'Dim encryption As New Encryption("place user name here", "place license key here") 'License Mode File.WriteAllText("input.txt", "This is a test") Dim results As String = encryption.GetFileAdler32Hex("input.txt") Console.WriteLine(results) |