By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,619 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

Problem in decryption

P: 23

! 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.

Jul 25 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,044
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.
Jul 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.