sha512

package
v1.2.117 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 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

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

func SumHex(b string) string

func SumReader

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

func SumReaderAt

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