Re: Hashing strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gerard Samuel wrote:
Im currently using md5() to hash strings to be used,
as an id for a cache system.
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
The only native php functions that I know of are md5() and sha1().
Are there any other native php functions that hash
strings?
Thanks
I believe crc32 is faster, but it's not that hard to change something in the code, and still get the same hash, so I'm not sure if it'd be such a great choice

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux