Posted By

mracoker on 03/04/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hinesnetwork


MD5 Hash in one line of code


 / Published in: C#
 

URL: http://snippets.dzone.com/posts/show/2771

  1. string hash = Convert.ToBase64String(new System.Security.Cryptography.MD5CryptoServiceProvider().ComputeHash(System.Text.Encoding.Default.GetBytes(inputStringToEncode)));

Report this snippet  

You need to login to post a comment.