aboutsummaryrefslogtreecommitdiff
path: root/src/hash/maphash/maphash.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/maphash/maphash.go')
-rw-r--r--src/hash/maphash/maphash.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hash/maphash/maphash.go b/src/hash/maphash/maphash.go
index 071dc04b54..ecc147d599 100644
--- a/src/hash/maphash/maphash.go
+++ b/src/hash/maphash/maphash.go
@@ -6,12 +6,11 @@
// These hash functions are intended to be used to implement hash tables or
// other data structures that need to map arbitrary strings or byte
// sequences to a uniform distribution on unsigned 64-bit integers.
+// Each different instance of a hash table or data structure should use its own Seed.
//
-// The hash functions are collision-resistant but not cryptographically secure.
+// The hash functions are not cryptographically secure.
// (See crypto/sha256 and crypto/sha512 for cryptographic use.)
//
-// The hash value of a given byte sequence is consistent within a
-// single process, but will be different in different processes.
package maphash
import "unsafe"