User Tools

Site Tools


blog:2024-12-24-001



2024-12-24 C#: Calculate a MD5 hash from a string

  • I use the following C# code to calculate a MD5 hash from a string. It works well and generates a 32-character hex string like this MD5: “0CBC6611F5540BD0809A388DC95A615B”
  • Test code:
    Console.WriteLine("MD5: " +CreateMD5("Test"));

Local Backup

TAGS

  • 29 person(s) visited this page until now.

blog/2024-12-24-001.txt · Last modified: 2024/12/24 14:56 (external edit)