MD5 Encryption in PHP

posted by Scudyen date: Thursday, May 22, 2008 category: PHP

Md5 is a very easy way to encrypt any stirng data. Following example take and encrypts a string. Remember that you could not dencrypt any data after encryption.

<?php
$
encryptText = "Hello world '";
$encryptedText = md5($
encryptText );

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


Happy Coding

Read More

Custom Search



Gazatem Technologies Active News Manager


page counter

Listed with 411asp.net Listed with 4aspin.com