Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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.

---
$world=~s/war/peace/g

Comment on Blog post on hardening Perl's hash function
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 Discipulus (Curate) 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.
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 $]}"

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://1061452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-08-23 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls