Problem in decryption

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kavithadevan
    New Member
    • Jul 2007
    • 23

    #1

    Problem in decryption

    Hi,

    ! created table with two fields one is username and another one is password.Using md5 i enerypted myusername field and i stored in database but now again i want to see username field in welcome page with name so in this how to decrypt username from database.

    thanks
  • kovik
    Recognized Expert Top Contributor
    • Jun 2007
    • 1044

    #2
    Just don't hash it in the first place. Hashing is for passwords, not usernames. The only reason that we use hashing is so that if I were to gain access to your database, I couldn't tell what the passwords were. Usernames don't need to be hashed because everyone can see them anyway.

    Comment

    Working...