Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChecksumCopy ¶ added in v10.0.8
ChecksumCopy will do the same as io.Copy, but also returns a sha256 checksum for the data read
func ChecksumFrom ¶ added in v10.0.7
ChecksumFrom will read all of r 8096 bytes at a time into hasher and return the sum
func Sha256Checksum ¶ added in v10.0.7
Sha256Checksum will return a sha256 checksum of r
func Values ¶
func Values(objects ...interface{}) string
Values will convert all objects to a string and return a SHA256 of the concatenated values. Uses xxhash to calculate a faster hash value that is not cryptographically secure but is OK since we use hashing mainfully for generating consistent key values or equality checks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.