News for hackers. Stuff that matters.
Re:Python dicts are now ordered by ipsin on Friday February 07, 2020 @11:04AM (#22267286)
More important (in my opinion), adding a random seed to your hash prevents collision attacks, where an attacker tries to ruin your performance by sending many values (e.g. HTTP params) that would hash to the same bucket.
Re:Python dicts are now ordered by tomp on Friday February 07, 2020 @11:55AM (#22267945)
Many (most?) programming language runtimes now do this, especially the web-focused ones. But it's completely orthogonal to insertion-ordered iteration (which is implemented by a list).