On Tue, 2020-11-10 at 19:08 -0800, 'Kilos' via golang-nuts wrote:
> Thanks for reply, but I want to know the underlying reason about it,
> I think the reason is in how the runtime functions works.

The direct cause is that the hash function used for the map
implementation is seeded from the system clock.

The reason for doing this was largely to avoid time complexity attacks
against servers that use maps for passing arguments in URIs.


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/45e34abf38b3e484a79f0f9e8bd22ba77786deef.camel%40kortschak.io.

Reply via email to