Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Blog post on hardening Perl's hash function

by demerphq (Chancellor)
on Nov 06, 2013 at 17:21 UTC ( #1061452=perlnews: print w/replies, xml ) Need Help??

Hi all. Long ago I promised an explanation of why Perl hash function was changed in 5.18.

You can read up on it here

Sorry it took so long, many vendors did not patch for a long time.


  • Comment on Blog post on hardening Perl's hash function

Replies are listed 'Best First'.
Re: Blog post on hardening Perl's hash function
by talexb (Canon) on Nov 07, 2013 at 03:06 UTC

    A really fascinating read -- thanks for that.

    Typo note: Near the beginning you have the word 'publicity' where I think you want 'publicly'.

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Re: Blog post on hardening Perl's hash function
by Jenda (Abbot) on Nov 07, 2013 at 14:07 UTC

    Here's a Windows version of the test (the quotes need to be changed from the Unix version):

    perl -le "@h{qw(a h k r ad ao as ax ay bs ck cm cz ej fz hm ia ih is i +z jk kx lg lv lw nj oj pr ql rk sk td tz vy yc yw zj zu aad acp acq a +dm ajy alu apb apx asa asm atf axi ayl bbq bcs bdp bhs bml)} =(); pri +nt %h=~/128/ && 'not ',qq{ ok # perl $]}"

    Enoch was right!
    Enjoy the last years of Rome.

Re: Blog post on hardening Perl's hash function
by Discipulus (Monsignor) on Nov 07, 2013 at 13:08 UTC
    oh! one of my oldest Perl installation is NOT good!

    Where theese patch can be downloaded?

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://1061452]
[erix]: it could be interesting to know whether that 57M customer data breach at ueber was before or after the database switch
[erix]: or perhaps it is unrelated

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-11-22 14:01 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (324 votes). Check out past polls.