Size of SHA1 or MD5 hash hex-encoded?

From: Date: Sun, 29 Sep 2002 20:49:09 +0000
Subject: Size of SHA1 or MD5 hash hex-encoded?
Groups: php.general 
Request: Send a blank email to php-general+get-118127@lists.php.net to get a copy of this message
Hello. I'm just trying to mess around with the MHASH-library functions to create MD5 and SHA1 hashes. Is there a limit to how large the output from mhash(MHASH_MD5, $input) or mhash(MHASH_SHA1, $input) will be? I'd like to store some MD5 (or SHA1) hashes in a database (after converting them from binary to hex) and I need to know how large the hashes can be. I've tried looking at the PHP documentation on the 'net but have not been able to find this out by myself. Can anyone help? -- Eivind Olsen eivind@aminor.no

« previous php.general (#118127) next »