Quick-n-easy:
int crc32 ( string str )  -- make sure to read the manual about the 
unsigned/signed issue.

DanB


"Brian Dunning" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Does anyone know if there's a handy way to create a numeric hash from  a 
> text string? I'm trying to generate an integer as a sort of quick &  dirty 
> checksum for text strings. Needs to be a decimal integer, not  hex or 
> otherwise. Any clever ideas appreciated.   :)
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> 

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

Reply via email to