Skip to content

Glossary: Data Structures and Algorithms in Go

hash/maphash

Also written: maphash

A Go standard-library package that computes hash values for strings and bytes. A random seed makes the numbers differ between runs, but within one run the same input always gives the same hash.

Where the book teaches it

Related terms

Hash function