gtbox_encryption

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Overview

Package gtbox_encryption 加密库

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FatalDec added in v0.1.16

func FatalDec(srcString string, keyString string) string

func FatalEnc added in v0.1.16

func FatalEnc(srcString string, keyString string) string

func GTDec added in v0.0.99

func GTDec(srcString string, keyString string) (resultStr string)

GTDec 解密

func GTDecryptionGo

func GTDecryptionGo(srcString string, keyString string) (resultStr string)

GTDecryptionGo 自定义解密

func GTDecryptionGoWithLength added in v0.0.39

func GTDecryptionGoWithLength(srcString string, keyString string, stringLength int) (resultStr string)

GTDecryptionGoWithLength 自定义解密,传入长度

func GTEnc added in v0.0.99

func GTEnc(srcString string, keyString string) (resultStr string)

GTEnc 加密

func GTEncryptionGo

func GTEncryptionGo(srcString string, keyString string) (resultStr string)

GTEncryptionGo 自定义加密

func GTEncryptionGoReturnStringLength added in v0.0.39

func GTEncryptionGoReturnStringLength(srcString string, keyString string) (resultStr string, stringLength int)

GTEncryptionGoReturnStringLength 自定义加密,并返回长度

func GTMD5EncryptionGo added in v0.0.99

func GTMD5EncryptionGo(str string) string

GTMD5EncryptionGo MD5加密

func GTMd5 added in v0.1.22

func GTMd5(srcString string) string

func GetEncryptionLibVersion added in v0.1.7

func GetEncryptionLibVersion() (version string)

GetEncryptionLibVersion 获取加密库版本

Types

This section is empty.

Jump to

Keyboard shortcuts

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