sdk

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptCBC

func AesDecryptCBC(encrypted []byte, key []byte) string

func DecryptEventEncrypt

func DecryptEventEncrypt(appSecret string, holder map[string]string) string

DecryptEventEncrypt 解密接口,使用这个接口需要将时间戳事先转换为字符串

func DecryptEventEncryptFromStruts added in v1.0.0

func DecryptEventEncryptFromStruts(appSecret string, holder EncryptStruts) string

DecryptEventEncryptFromStruts 基于struts的参数解密

Types

type EncryptStruts added in v1.0.0

type EncryptStruts struct {
	Nonce     string
	Encrypt   string
	Timestamp int
	Signature string
}

EncryptStruts 定义入参

Jump to

Keyboard shortcuts

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