hashing

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateSha256 added in v1.3.2

func CalculateSha256(filePath string) (sha string, n int64, err error)

func MustCalculateFileHash

func MustCalculateFileHash(filePath string) (sha string, n int64)

func MustCalculateHash

func MustCalculateHash(file io.Reader) (sha string, n int64)

func MustDecodeSha256String

func MustDecodeSha256String(shaString string) (sha [sha256.Size]byte)

func MustHash

func MustHash(hashFilePath string) config.FileInfoMap

Types

This section is empty.

Jump to

Keyboard shortcuts

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