util

package
v1.30.15 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AesKey = "github.com/dreamlu/gt dreamlu123"

Functions

func AesDe

func AesDe(data string) string

解密

func AesEn

func AesEn(data string) string

aes加密,返回16进制数据

func IsAes added in v1.20.10

func IsAes(s string) bool

is aes encode

func PKCS7Padding

func PKCS7Padding(ciphertext []byte, blocksize int) []byte

补码

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

去码

func RemoveDuplicateString

func RemoveDuplicateString(languages []string) []string

remove duplicate string

func RemoveStrings

func RemoveStrings(strS []string, sep string) (res []string)

remove sep in strS

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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