util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAppIDNotMatch       = errors.New("app_id not match")
	ErrInvalidBlockSize    = errors.New("invalid block size")
	ErrInvalidPKCS7Data    = errors.New("invalid PKCS7 data")
	ErrInvalidPKCS7Padding = errors.New("invalid padding on input")
)

Functions

func Decrypt

func Decrypt(v interface{}, sessionKey, encryptedData, ivStr string) error

func Gen

func Gen(arr []string) (string, error)

func GenWithAmple

func GenWithAmple(arr []string) (string, error)

func IsAnyEmpty

func IsAnyEmpty(values ...string) bool

func RandSeq

func RandSeq(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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