You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Alex Herbert <al...@gmail.com> on 2019/11/23 08:46:32 UTC
[codec] SipHash
While going through the MurmurHash3 code I noted that the wikipedia page states that it can be sensitive to some types of collision. The was shown by the authors of SipHash [1].
Is it worth adding SipHash to the codec digest package? It is the hash used in hash table implementations of several languages.
The reference c code offers 64-bit and 128-bit hash output.
Alex
[1] https://en.wikipedia.org/wiki/SipHash <https://en.wikipedia.org/wiki/SipHash>
Re: [codec] SipHash
Posted by Alex Herbert <al...@gmail.com>.
> On 23 Nov 2019, at 11:17, Giorgio Zoppi <gi...@gmail.com> wrote:
>
> Hello,
> Yes it is, but siphash is in part a Mac.
Surely that applies to any hash function that can be seeded with a key?
It is not a crytographic strength hash but it may of use to have an implementation in codec.
>
>
> El sáb., 23 nov. 2019 a las 9:46, Alex Herbert (<al...@gmail.com>)
> escribió:
>
>> While going through the MurmurHash3 code I noted that the wikipedia page
>> states that it can be sensitive to some types of collision. The was shown
>> by the authors of SipHash [1].
>>
>> Is it worth adding SipHash to the codec digest package? It is the hash
>> used in hash table implementations of several languages.
>>
>> The reference c code offers 64-bit and 128-bit hash output.
>>
>> Alex
>>
>> [1] https://en.wikipedia.org/wiki/SipHash <
>> https://en.wikipedia.org/wiki/SipHash>
>>
>>
>
> --
> Life is a chess game - Anonymous.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [codec] SipHash
Posted by Giorgio Zoppi <gi...@gmail.com>.
Hello,
Yes it is, but siphash is in part a Mac.
El sáb., 23 nov. 2019 a las 9:46, Alex Herbert (<al...@gmail.com>)
escribió:
> While going through the MurmurHash3 code I noted that the wikipedia page
> states that it can be sensitive to some types of collision. The was shown
> by the authors of SipHash [1].
>
> Is it worth adding SipHash to the codec digest package? It is the hash
> used in hash table implementations of several languages.
>
> The reference c code offers 64-bit and 128-bit hash output.
>
> Alex
>
> [1] https://en.wikipedia.org/wiki/SipHash <
> https://en.wikipedia.org/wiki/SipHash>
>
>
--
Life is a chess game - Anonymous.