[PHP] Size of SHA1 or MD5 hash hex-encoded?

2002-09-29 Thread Eivind Olsen

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
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Can PHP perform DNS zone transfers etc.?

2002-11-12 Thread Eivind Olsen
Hello.

I'm about to write a DNS-related project in PHP4 and would like to use
TSIG-signed DNS-updates, AXFR-based zonetransfers etc.
When using Perl I could use the excellent Net::DNS module for this. Does
anyone know if there exists anything like that for PHP4? I have searched
on the PHP website and the mailinglists without finding anything like
that.

-- 
Regards
Eivind Olsen
<[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php