mirror of https://github.com/golang/go.git
hash/maphash: mention the results are 64-bit integers
Change-Id: I0d2ba52d79c34d77d475ec8d673286d0e56b826b Reviewed-on: https://go-review.googlesource.com/c/go/+/219340 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
e237df5b53
commit
a0c9fb6bd3
|
|
@ -5,7 +5,7 @@
|
|||
// Package maphash provides hash functions on byte sequences.
|
||||
// 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 of integers.
|
||||
// sequences to a uniform distribution on unsigned 64-bit integers.
|
||||
//
|
||||
// The hash functions are collision-resistant but not cryptographically secure.
|
||||
// (See crypto/sha256 and crypto/sha512 for cryptographic use.)
|
||||
|
|
|
|||
Loading…
Reference in New Issue