md5Kit

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encrypt deprecated added in v2.0.18

func Encrypt(data interface{}) (string, error)

Encrypt

Deprecated: 不推荐使用此法,应该明确 传参data 的类型.

func EncryptBytes added in v2.0.18

func EncryptBytes(data []byte) (string, error)

func EncryptFile added in v2.0.18

func EncryptFile(filePath string) (string, error)

EncryptFile

e.g. ("/Users/richelieu/Documents/ino/notes/Linux(Unix、Mac)/命令(Mac、Linux).wps") => "390c5cb9447130fa6f42d488630bb459", nil

func EncryptString added in v2.0.18

func EncryptString(data string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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