[PHP-DEV] Re: sha256(), sha256_file(), and other hashing algos

2005-11-18 Thread Sara Golemon
I'm just putting on some finishing touches and will post a tarball later today. Meh... It'll be easier to discuss within CVS... It's in pecl/hash as of now. -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: sha256(), sha256_file(), and other hashing algos

2005-11-18 Thread Roman Ivanov
Sara Golemon wrote: string hash(string $algo, string $value[,$raw=false]) string hash_file(string $algo, string $filename[,$raw=false]) Hm... hash(string $value[, $algo='sha256' [,$raw=false]])? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Re: sha256(), sha256_file(), and other hashing algos

2005-11-18 Thread Wez Furlong
Assuming that sha256 is always going to be the best default is pretty short-sighted. It's only a matter of time before that one is partially broken in some way too; we won't be able to change the default value of the function by then, because everyone using the default will have code that depends