Need C# coding for MD5 Algorithm.........

  • Thread starter Thread starter Charles
  • Start date Start date
C

Charles

Hi all,

I need C# code for Implementing MD5 Algorithm.. Hope all would have
heard of MD5 Algorith... Does any one have the C# coding for that
Algorithm.. please Send... ITs URgent.....

Thanks In Advance to all.......................

With Regards,

Sanjay.C
 
I need C# code for Implementing MD5 Algorithm.. Hope all would have
heard of MD5 Algorith... Does any one have the C# coding for that
Algorithm.. please Send... ITs URgent.....

use System.Security.Cryptography.MD5:

from the docs:
byte[] data = new byte[DATA_SIZE];
// This is one implementation of the abstract class MD5.
MD5 md5 = new MD5CryptoServiceProvider();
byte[] result = md5.ComputeHash(data);

hth
Markus
 
Back
Top