hasher

package
v2.4.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(data []byte) string

Checksum computes the SHA256 sum of the data and returns it as hexadecimal string.

func Copy

func Copy(dst io.Writer, src io.Reader) (written int64, checksum string, err error)

Copy copies from src to dst and computes a checksum on the copied bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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