common

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptWechat

func AesDecryptWechat(aesKey, encryptedMessage string) ([]byte, error)

*

  • 这个不是单纯的解密,还涉及到解密后的数据处理,即提取指定区间的字节数据

func AesEncrypt

func AesEncrypt(plainText []byte, aesKey string) (string, error)

func GenerateSignature

func GenerateSignature(params ...string) string

func GetAccessToken

func GetAccessToken(appid, appsecret string) (string, int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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