Mitul Dabhi
answered Nov 30 '-1 00:00
no difference , both generate same encrypted output and use same algorithm .
select md5("hi")//generate hash at php :: md5 is 49f68a5c8493ec2c0bf489821c21fc3b
echo md5("hi");generate hash at Mysql :: md5 is 49f68a5c8493ec2c0bf489821c21fc3b
so both is equal . you can use any of it to hash the password