encrypt

package
v0.0.0-...-33c5ed1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MD5

func MD5(s string) string

md5加密

func MD5Short

func MD5Short(s string) string

md5 16位秘钥

Types

type AESService

type AESService struct {
	// contains filtered or unexported fields
}

func NewAESService

func NewAESService(secret string) (*AESService, error)

func (*AESService) DeCode

func (s *AESService) DeCode(tar string) (string, error)

解密

func (*AESService) EnCode

func (s *AESService) EnCode(srt string) (string, error)

加密base64

Jump to

Keyboard shortcuts

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