Learning PHP and MySQL
Example 14-3 Comparing the output of md5 to that of sha1
<?php
echo "Encrypting <b>testing</b> using md5: ".md5("testing");
echo "<br />";
echo "Encrypting <b>testing</b> using sha1: ".sha1("testing");
?>
Posted by on 09/25 at 11:53 AM