hash

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadBufferSize = 1_048_576 // 1 MiB.
)

Variables

This section is empty.

Functions

func GetFileHashCRC32

func GetFileHashCRC32(filePath string) (sum uint32, err error)

func GetFileHashFileExistence added in v0.9.0

func GetFileHashFileExistence(filePath string) (sum bool, err error)

func GetFileHashFileSize added in v0.5.0

func GetFileHashFileSize(filePath string) (sum int64, err error)

func GetFileHashMD5

func GetFileHashMD5(filePath string) (sum []byte, err error)

func GetFileHashSHA256

func GetFileHashSHA256(filePath string) (sum []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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