md5

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Md5Crypt

func Md5Crypt(str string, salt ...interface{}) (CryptStr string)

Md5Crypt uses MD5 encryption algorithm to add salt encryption.

Types

type EncryptManager

type EncryptManager struct {
	Salt string
}

func (*EncryptManager) EncryptPassword

func (e *EncryptManager) EncryptPassword(code string) string

Jump to

Keyboard shortcuts

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