User Profile

Collapse

Profile Sidebar

Collapse
Chris Mok
Chris Mok
Last Activity: Jan 23 '11, 02:28 AM
Joined: Jan 22 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Chris Mok
    started a topic MD5 Encoding Differ in .net 1.1 and 2.0

    MD5 Encoding Differ in .net 1.1 and 2.0

    Hi All,

    Recently, I'm deleveoping the extend application (.net 2.0) to generate the password, encrpyte the password using MD5 and insert it into Database for Client Login in Website(.net 1.1 Platform)

    After developed the extend program, some of my user reported that some of the password cannot be using in website.

    When I checked the coding for encryption, there's some problem that I found.

    ...
    See more | Go to post

  • Code:
    string resultStr=null;
    foreach(byte c in buffer )
    {
       result+=c.ToString()+",";
    }
    if(result!=null)
    {
       result=result.Substring(0, result.Length - 1);
    }
    using for loop to get the byte array
    See more | Go to post
    Last edited by Niheel; Jan 22 '11, 06:41 PM.

    Leave a comment:

No activity results to display
Show More
Working...