1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:00:05 -07:00

doc: document new hash/maphash package

Update #36878
Update #28322

Change-Id: I793c7c4dbdd23fdecd715500e90b7cc0cbe4cea5
Reviewed-on: https://go-review.googlesource.com/c/go/+/217099
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Keith Randall 2020-01-30 10:49:12 -08:00
parent b8dd33b2f6
commit 25d0ffe603

View File

@ -432,7 +432,13 @@ TODO
<dl id="hash/maphash"><dt><a href="/pkg/hash/maphash">hash/maphash</a></dt> <dl id="hash/maphash"><dt><a href="/pkg/hash/maphash">hash/maphash</a></dt>
<dd> <dd>
<p><!-- CL 186877 --> <p><!-- CL 186877 -->
TODO: <a href="https://golang.org/cl/186877">https://golang.org/cl/186877</a>: add hashing package for bytes and strings This new package 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.
</p>
<p>
The hash functions are collision-resistant but not cryptographically secure.
</p> </p>
</dl><!-- hash/maphash --> </dl><!-- hash/maphash -->