xhash

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crc32

func Crc32(buf []byte) []byte

计算Crc32

func Crc32File

func Crc32File(file string) string

func Crc32Str

func Crc32Str(src string) string

func Md5

func Md5(buf []byte) []byte

计算md5

func Md5File

func Md5File(file string) string

func Md5Str

func Md5Str(src string) string

func Sha1

func Sha1(buf []byte) []byte

计算Sha1

func Sha1File

func Sha1File(file string) string

func Sha1Str

func Sha1Str(src string) string

func Sha256

func Sha256(buf []byte) []byte

计算Sha256

func Sha256File

func Sha256File(file string) string

func Sha256Str

func Sha256Str(src string) string

func Sha512

func Sha512(buf []byte) []byte

计算Sha512

func Sha512File

func Sha512File(file string) string

func Sha512Str

func Sha512Str(src 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