checksum

package
v0.17.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calc

func Calc(reader io.Reader, checksumType ...Algorithm) (map[Algorithm]string, error)

Calc all hashes at once using AsyncMultiWriter therefore the file is read only once.

Types

type Algorithm

type Algorithm int
const (
	MD5 Algorithm = iota
	SHA1
	SHA256
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL