chainhash provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted.
$ go get -u mleku.online/git/ec/chainhash
Package chainhash is licensed under the copyfree ISC License.