Documentation ¶
Overview ¶
Package checksum computes checksums, like MD5 or SHA256, for large files
Index ¶
- func MD5sum(filename string) (string, error)
- func MD5sumReader(reader io.Reader) (string, error)
- func SHA256sum(filename string) (string, error)
- func SHA256sumReader(reader io.Reader) (string, error)
- func Sum(hashAlgorithm hash.Hash, filename string) (string, error)
- func SumReader(hashAlgorithm hash.Hash, reader io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MD5sumReader ¶
MD5sumReader returns MD5 checksum of filename
func SHA256sumReader ¶
SHA256sumReader returns SHA256 checksum of filename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.