Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Md5 hash
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Text; using System.Security.Cryptography; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine(CalculateMD5Hash("Hello, world!")); } public static string CalculateMD5Hash(string input) { var md5 = MD5.Create(); byte[] inputBytes = Encoding.Unicode.GetBytes(input); byte[] hash = md5.ComputeHash(inputBytes); // step 2, convert byte array to hex string StringBuilder sb = new StringBuilder(); for (int i = 0; i < hash.Length; i++) { sb.Append(hash[i].ToString("X2")); } return sb.ToString(); } } }
run
|
edit
|
history
|
help
0
Watch Jurassic World Dominion Online Free
Basic classes
Beadando Simon Szabolcs
Complex
WDW
gfrsdfdfvgh
TEst
1.
Reverse linked list iterative method
Finonacci Series