import "go.chromium.org/goma/server/hash"
Package hash provides a hash function used in goma.
SHA256Content returns a hexdecimal representation of the SHA256 hash of the given content.
SHA256File returns a hexadecimal representation of the SHA256 hash of the file contents.
SHA256HMAC returns a hexdecimal representation of the SHA256 hmac of the given two content.
SHA256Proto returns a hexdecimal representation of the SHA256 hash of the given protocol buffer.
Package hash imports 6 packages (graph) and is imported by 4 packages. Updated 2020-10-27. Refresh now. Tools for package owners.