Net Encryption Library
Hashing Files
Basic Tasks > Hashing Files

Hashing Files Overview

The .NET Encryption Library supports many hashing algorithims

 

 

 

C#
Encryption encryption = new Encryption(); //Trial Mode
//Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode
 
File.WriteAllText("test.txt", "This is a test");
 
string results = encryption.HashFileHex(HashProvider.SHA512, "test.txt");
Console.WriteLine(results);

VB.NET
Dim encryption As New Encryption() 'Trial Mode
'Dim encryption As New Encryption("place user name here", "place license key here") 'License Mode
 
File.WriteAllText("test.txt", "This is a test")
 
Dim results As String = encryption.HashFileHex(HashProvider.SHA512, "test.txt")
Console.WriteLine(results)