How can I manufacture pathological keys for a hash?

Viewed 164

I am trying to trigger the hash randomization feature in Perl 5.8.2 and later. To do this, I need a set of keys that would be pathological but for the randomization feature. I tried using MJD's code, but that didn't work. And, now that I look at it, I shouldn't be surprised. It comes from 1997, and we have switched hashing functions since then.

Does anyone know of a set of pathological keys, or how to generate them? I guess I should just go look at the hash function and reverse engineer a solution, but I am lazy.

1 Answers
Related