Skip to content

Commit

Permalink
fix misleading hash claim
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmichalak authored and joeljpresent committed Apr 13, 2021
1 parent 5152017 commit 3836723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch08-03-hash-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ loop, so all of these changes are safe and allowed by the borrowing rules.

### Hashing Functions

By default, `HashMap` uses a “cryptographically strong”[^siphash] hashing
function that can provide resistance to Denial of Service (DoS) attacks. This
By default, `HashMap` uses a hashing function called SipHash that can provide
resistance to Denial of Service (DoS) attacks involving hash tables[^siphash]. This
is not the fastest hashing algorithm available, but the trade-off for better
security that comes with the drop in performance is worth it. If you profile
your code and find that the default hash function is too slow for your
Expand Down

0 comments on commit 3836723

Please sign in to comment.