Mega Code Archive

 
Categories / Php / Functions
 

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"); ?>