# echo -n "1122" | openssl dgst -md5 Using openssl: echo "1122" | openssl dgst -md5 01ebeaafc334e503f4acc94a18df9fa5 and using MySQL: SELECT md5("1122"); 3b712de48137572f3849aabd5666a4e3 echo -n, don't send the eol character. http://www.vanemery.com/Linux/Apache/openSSL.html http://marc.info/?l=openssl-users&m=112537522329771&w=2 http://md5-hash-online.waraxe.us/ http://www.youtube.com/watch?v=3SmndwrRkxw (reset the wp password with mysql)