develooper Front page | perl.perl5.porters | Postings from October 2012

Re: Eliminating the "rehash" mechanism for 5.18

Thread Previous | Thread Next
From:
James E Keenan
Date:
October 29, 2012 13:24
Subject:
Re: Eliminating the "rehash" mechanism for 5.18
Message ID:
20121029202448.8737.qmail@lists-nntp.develooper.com
On 10/29/12 1:55 PM, demerphq wrote:
> Perl currently has a defense against attacks on its hash algorithm
> where it conditionally enables the use of a random hash seed when it
> calculates the hash value for a string. This mode is triggered by
> encountering an overly long bucket chain during insert. Once this bit
> is set all further hash operations have to go through additional
> layers of logic. All of this support has a per-operation cost.
>

[snip]

This was a very well written post and proposal.  Even someone with very 
limited knowledge of perlguts (me) could follow it.

Thank you very much.
Jim Keenan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About