Try this

sri sri replied to shreya verma at 12-May-08 04:40
Hi,
Looking in to following code for password encryption

using System.Security.Cryptography;
MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider();
byte[] hashedBytes;
UTF8Encoding encoder = new UTF8Encoding();
hashedBytes = md5Hasher.ComputeHash(encoder.GetBytes(strPassword));
For further information
refer the below link
http://www.codeproject.com/KB/database/md5sql2000.aspx

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Password Authentication - shreya verma  12-May-08 03:02 3:02:34 AM
      calrity .. - santhosh kapa  12-May-08 03:04 3:04:28 AM
          Look........ - shreya verma  12-May-08 03:17 3:17:04 AM
              check here - santhosh kapa  12-May-08 03:20 3:20:24 AM
              Encryption - sri sri  12-May-08 03:24 3:24:09 AM
                  Re: Password - Chirag Bhavsar  12-May-08 05:13 5:13:43 AM
      Details - sri sri  12-May-08 03:20 3:20:52 AM
          Tell... - shreya verma  12-May-08 03:25 3:25:50 AM
              use MD5 encryption... - Vasanthakumar D  12-May-08 04:31 4:31:52 AM
              check these.. - santhosh kapa  12-May-08 04:32 4:32:50 AM
              Try this - sri sri  12-May-08 04:40 4:40:02 AM
                  See and tell...................... - shreya verma  12-May-08 08:30 8:30:56 AM
                      you have not declared strPassword... - Vasanthakumar D  12-May-08 08:34 8:34:39 AM
                          password is not secured - shreya verma  12-May-08 08:39 8:39:36 AM
                              keep password textbox as is.. - santhosh kapa  12-May-08 09:19 9:19:45 AM
                              set TextMode = "Password" for password textboxes.. - Vasanthakumar D  13-May-08 12:12 12:12:46 AM
          Tell This!!!!!!!! - shreya verma  12-May-08 04:05 4:05:47 AM
              Refer This - sri sri  12-May-08 04:49 4:49:27 AM
View Posts