sha1Kit

package
v3.0.904 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Encrypt func(v interface{}) string = gsha1.Encrypt

Functions

func EncryptData

func EncryptData(data []byte) string

EncryptData

参考: gsha1.Encrypt.

func EncryptFile

func EncryptFile(filePath string) (string, error)

EncryptFile

e.g.

("/Users/richelieu/Documents/ino/notes/Linux(Unix、Mac)/命令(Mac、Linux).wps") => "167a518a8ef373c3614f756bd718b27ae8c07853", nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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