hash

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Digest

func Digest(r io.Reader, result *DigestResult) (err error)

func Md5Hex added in v0.3.1

func Md5Hex(str string) string

func Sha1HexUpper added in v0.3.1

func Sha1HexUpper(r io.Reader) (digest string)

Types

type DigestResult

type DigestResult struct {
	Size    int64
	PreId   string
	QuickId string
	MD5     string
}

Jump to

Keyboard shortcuts

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