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

Next entry: Example 14-4 Not initializing a variable was a hole in sample.php

Previous entry: Example 14-2 Creating an Apache password for .htaccess

<< Back to main