Saturday, October 19, 2013

MD5 Hash Code for PHP Developers


Hi friends, This post is especially for PHP Developers.  I hope you know about MD5.  If you  do not know,please read the following articles:
Introduction to MD5 Hash Code
MD5 Hash code creation for Java Developers

Like Java, php also have build in function named as "md5" for creating Hash code.



how to use?
Just pass the original text as argument to the md5 function.  can't understand? Just see the  following code:
<?php
$Data="Dad H@ckers"

echo md5($Data);
?>
The result of above code is :
cc8d695e0b75f334405cfa0735a965e9

0 comments:

Post a Comment