sha1Kit

package
v2.1.58 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encrypt

func Encrypt(v interface{}) string

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