md5

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MySelf

func MySelf() ([]byte, error)

func SumBytes

func SumBytes(b []byte) []byte

func SumFile

func SumFile(name string) ([]byte, error)

func SumFileAt added in v0.0.143

func SumFileAt(name string, offset, size int64, buf []byte) ([]byte, error)

SumFileAt return ms5sum of data by offset and len is size buf is a buffer to read from file every time.

func SumHex added in v0.0.150

func SumHex(b string) string

func SumReader

func SumReader(r io.Reader) ([]byte, error)

func SumReaderAt added in v0.0.143

func SumReaderAt(r io.ReaderAt, offset, size int64, buf []byte) ([]byte, error)

func SumString

func SumString(b string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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