I can insert a row by using code below.
USE pmdb;
INSERT INTO md5_tbl (md5_val, username, password) VALUES(MD5('abcdef'), 'usna', MD5('Aa123456'));
How can i decrypt or decode password when i select the row by using username field?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Firstly, MD5 is a hashing algorithm = no decryption possible (except brute force attacks, but…)
Secondly, don’t use MD5 for hashing passwords, it isn’t secure at all. Instead, use at least SHA family + technique called “salting”.