Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Blog post on hardening Perl's hash function

by demerphq (Chancellor)
on Nov 06, 2013 at 17:21 UTC ( [id://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

Replies are listed 'Best First'.
Re: Blog post on hardening Perl's hash function
by talexb (Chancellor) 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 $]}"

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

Re: Blog post on hardening Perl's hash function
by Discipulus (Canon) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found