Tags
PHP , MySQL
Asked 7 years ago
28 Dec 2016
Views 2398
python

python posted

Difference between md5 in php vs Mysql

Difference between md5 in php vs Mysql
Mitul Dabhi

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
Post Answer