chainhash provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted.
$ go get -u github.com/decred/dcrd/chaincfg/chainhashPackage chainhash is licensed under the copyfree ISC License.