encryption - phpmyadmin md5 decryption issue after importing database -


i have database on cpanel server, contains user field called 'password'. when @ field through phpmyadmin, passwords appear md5 encrypted.

so example, password thats '12345' encrypted , appearing in database "e10adc3949ba59abbe56e057f20f883e". now, on original server, thats ok, because if password encrypted in database, when enter password on related website '12345' recognizes , gives access.

the problem when export , import database. after importing same database server, naturally password values still encrypted in database. but, when try logging in related website, decrypted password, tht is, '12345' not work anymore. have enter password "e10adc3949ba59abbe56e057f20f883e" , can login. i'm guessing problem data in password column not getting decrypted after importing database, hence when enter '12345' instead of extended md5 value, not match , gives me wrong password error.

so can me solve issue? supposed migrate website on server, , school system, , none of users have access because of issue.

thanks.

md5 not encryption, it's one-way hash. cannot find original value hash.

on second server, if e10adc3949ba59abbe56e057f20f883e password works, reason see, application not comparing hash of input value received user, it's comparing input value itself.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -