xsha

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA1Encrypt

func SHA1Encrypt(v interface{}) string

sha1加密

func SHA1EncryptFile

func SHA1EncryptFile(path string) (encrypt string, err error)

sha1加密文件

func SHA1EncryptString

func SHA1EncryptString(s string) string

sha1加密字符串

func SHA256Str

func SHA256Str(src string) string

sha256验证

func SHA512Str

func SHA512Str(src string) string

sha512验证

Types

This section is empty.

Jump to

Keyboard shortcuts

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