Tuesday, February 19, 2008

md5 — Calculate the md5 hash of a string

Calculates the MD5 hash of str using the » RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash.
if ((md5($str) === '1f3870be274f6c49b3e31a0c6728957f') {
echo "Would you like a green or red apple?"; exit;}
?>

0 comments: