crypt

package
v0.0.0-...-4d2a37d Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(source, salt string) string

func Encrypt

func Encrypt(source, salt string) string

func StrDecrypt

func StrDecrypt(str, strKey string) (strDecrypt string)

StrDecrypt 字符串解密--以ENC开头的字符串为加密字符串,解密后返回解密后的字符串

Types

type Type

type Type string
const (
	D Type = "-d"
	E Type = "-e"
)

Jump to

Keyboard shortcuts

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