Note Submitter: info at b1g dot de
----
I think nathanzadoks at yahoo dot co dot uk's function is
not very good for checksums - it does not make any sense to
build a md5 hash from a crc32 hash - MD5 (32Byte) is more
precise then CRC32 (4Byte), so the MD5-encoding would not
make sense. As PHP returns the MD5 hash in ASCII
representation already, you do not need to base64-encode it,
too. So a simple
md5($content)
or
sha1($content)
would be more precise and secure.
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|