hzmd5

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptBytes

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

EncryptBytes encrypts <data> using MD5 algorithms.

func EncryptFile

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

EncryptFile encrypts file content of <path> using MD5 algorithms.

func EncryptString

func EncryptString(data string) (encrypt string, err error)

EncryptBytes encrypts string <data> using MD5 algorithms.

func MustEncryptBytes

func MustEncryptBytes(data []byte) string

func MustEncryptFile

func MustEncryptFile(path string) string

MustEncryptFile encrypts file content of <path> using MD5 algorithms. It panics if any error occurs.

func MustEncryptString

func MustEncryptString(data string) string

MustEncryptString encrypts string <data> using MD5 algorithms. It panics if any error occurs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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