Documentation ¶
Overview ¶
Package checksum computes checksums, like MD5 or SHA256, for large files
Index ¶
- func Blake2s256(filename string) (string, error)
- func Blake2s256Reader(reader io.ReadCloser) (string, error)
- func CRC32(filename string) (string, error)
- func CRCReader(reader io.Reader) (string, error)
- func MD5sum(filename string) (string, error)
- func MD5sumReader(reader io.ReadCloser) (string, error)
- func SHA1sum(filename string) (string, error)
- func SHA1sumReader(reader io.ReadCloser) (string, error)
- func SHA256sum(filename string) (string, error)
- func SHA256sumReader(reader io.ReadCloser) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blake2s256 ¶
Blake2s256 returns BLAKE2s-256 checksum of filename
func Blake2s256Reader ¶
func Blake2s256Reader(reader io.ReadCloser) (string, error)
Blake2s256Reader returns SHA1 checksum of content in reader
func MD5sumReader ¶
func MD5sumReader(reader io.ReadCloser) (string, error)
MD5sumReader returns MD5 checksum of content in reader
func SHA1sumReader ¶
func SHA1sumReader(reader io.ReadCloser) (string, error)
SHA1sumReader returns SHA1 checksum of content in reader
func SHA256sumReader ¶
func SHA256sumReader(reader io.ReadCloser) (string, error)
SHA256sumReader returns SHA256 checksum of content in reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.