in reply to hash collision DOS
All,
Please don't forget to consider the 'victim program' source
If there is anyone out there who write programs like this, then be wary for DoS attacks from Rice university;)$start=time; while (<>) { chomp; $testhash{$_}="x"; $i++; if (0==($i % 100)) { print "$i "; print (time-$start); print " "; $_ = scalar(%testhash); ($used,$total) = split '/'; print "$used $total\n"; } }
Update: Changed grammar of two sentences to sound less like a neanderthal
Kristofer Hoch
Si vos can lego is, vos es super erudio
|
|---|