Last active
August 26, 2016 06:45
-
-
Save dlidstrom/6ad549da52d717194f789474764340ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (var md5 = System.Security.Cryptography.MD5.Create()) | |
{ | |
var hash = md5.ComputeHash(Encoding.ASCII.GetBytes("dlidstrom@gmail.com")); | |
var sb = new StringBuilder(); | |
for (int i = 0; i < hash.Length; i++) | |
{ | |
sb.Append(hash[i].ToString("x2")); | |
} | |
sb.ToString().Dump(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment