Use of md5 in php

By | February 21, 2014

md5(); function is used for converting a character to a 32 bit hash.mostly in web application development we will use the md5 function for password fields

For example

$password=’mydoubts’;
$newpassword=md5($password);
Store this $newpassword variable into database.

this is using for security purpose.