Re: [PHP-DEV] SipHash

2014-08-29 Thread Xinchen Hui
On Thu, Aug 28, 2014 at 4:07 PM, Sebastian Bergmann wrote: > Am 28.08.2014 um 10:04 schrieb Pierre Joye: >> ext/hash can have it anyway. I did not look at it if it makes sense to >> use it in other parts. > > Sorry for not bein more clear: yes, I was thinking about adding it to > ext/hash, of co

Re: [PHP-DEV] SipHash

2014-08-28 Thread Johannes Schlüter
On Thu, 2014-08-28 at 10:07 +0200, Sebastian Bergmann wrote: > Am 28.08.2014 um 10:04 schrieb Pierre Joye: > > ext/hash can have it anyway. I did not look at it if it makes sense to > > use it in other parts. > > Sorry for not bein more clear: yes, I was thinking about adding it to > ext/hash, o

Re: [PHP-DEV] SipHash

2014-08-28 Thread Sebastian Bergmann
Am 28.08.2014 um 10:04 schrieb Pierre Joye: > ext/hash can have it anyway. I did not look at it if it makes sense to > use it in other parts. Sorry for not bein more clear: yes, I was thinking about adding it to ext/hash, of course. It might make sense, though, to evaluate whether it can also b

Re: [PHP-DEV] SipHash

2014-08-28 Thread Pierre Joye
On Thu, Aug 28, 2014 at 10:00 AM, Sebastian Bergmann wrote: > I recently came across SipHash [1] (which is "a family of pseudorandom > functions (a.k.a. keyed hash functions) optimized for speed on short > messages") and am wondering whether it would make sense to add support > for it to PHP.

[PHP-DEV] SipHash

2014-08-28 Thread Sebastian Bergmann
I recently came across SipHash [1] (which is "a family of pseudorandom functions (a.k.a. keyed hash functions) optimized for speed on short messages") and am wondering whether it would make sense to add support for it to PHP. Thoughts? -- [1] https://131002.net/siphash/ -- PHP Internals