MD5 is a .NET library that provides methods to generate MD5 hash from string content. It has over 30,000 downloads on NuGet and is available under the MIT License. Contributions are welcome!
Contributeusing MD5Hash;
using System;
namespace MyAppExample
{
public class MyApp
{
public void MyExample()
{
string hashByHelper = Hash.Content("123");
Console.WriteLine(hashByHelper);
//output: 202cb962ac59075b964b07152d234b70
string hashByExtension = "123".GetMD5();
Console.WriteLine(hashByExtension);
//output: 202cb962ac59075b964b07152d234b70
}
}
}