Hi,
I'm missing the functionality to get a list of registered hash functions
so one can probe whether a certain hash function is available or not.
- Markus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I'm missing the functionality to get a list of registered hash functions
so one can probe whether a certain hash function is available or not.
There is now :)
array hash_algos(void)
Returns numerically indexed array of hashing engine names.
And just incase anyone missed it. The proto for
Following an offline discussion with some internals folks, I've put together
a general hashing extensions which could potentially find a place in core as
an enabled by default extension:
ext/hash:
string hash(string $algo, string $value[,$raw=false])
string hash_file(string $algo, string