Critque of Rust's collection types

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 15 01:02:44 PDT 2016


On Wednesday, 14 September 2016 at 16:53:03 UTC, cym13 wrote:
> What do you mean by that? It's the basis of DoS attack against 
> hashtables: being able to find many inputs with the same hash.

That's a collision attack, not a preimage attack.

> Most programmers won't see the point of changing seed and we 
> can definitely take advantage of templates here.

The seed is supposed to be changed by infrastructure, e.g. 
vibe.d, not by user code. Also it's only for server code.


More information about the Digitalmars-d mailing list