Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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 (Prior) 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]
[1nickt]: The Google-fu is strong with this one.
[1nickt]: I was looking at Best Buy since like the in-store return/repace plan ... but the 17" HP Envy they have is not this one ....

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-03-26 18:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.