PHP MD5 Encryption

Through MD5, we can easily encrypt a string. Below code snippet example take and encrypts a string, take note though that you could not decrypt any data after encryption.
     <?php
$encryptText = "Hello world '";
$encryptedText = md5($encryptText );

echo "Clear Text : $encryptText <br /> Encrypted text:  $encryptedText";
?>

All PHP Scripts on this website are provided by phpscripts4u.com where you can find all the latest PHP code snippets, plugins and libraries.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>