From 7293684494fd535265d3e581ffaa758f9eac703a Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 17 Feb 2017 23:23:01 -0500 Subject: [PATCH] Mention there are hasher-providing crates available --- nostarch/chapter08.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nostarch/chapter08.md b/nostarch/chapter08.md index 664a23375..c52e22f9e 100644 --- a/nostarch/chapter08.md +++ b/nostarch/chapter08.md @@ -900,8 +900,10 @@ hashing algorithm out there, but the tradeoff 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 purposes, you can switch to another function by specifying a different *hasher*. A hasher is a type that -implements the `BuildHasher` trait. We'll be talking about traits and how to -implement them in Chapter 10. +implements the `BuildHasher` trait. We’ll be talking about traits and how to +implement them in Chapter 10. You don't necessarily have to implement your own +hasher from scratch; crates.io has libraries that others have shared that +provide hashers implementing many common hashing algorithms. ## Summary