Versions in this module Expand all Collapse all v0 v0.0.2 Jan 30, 2026 v0.0.1 Jan 29, 2026 Changes in this version + func Decrypt(sessionKey, encryptedData, iv string) ([]byte, error) + type CBCEncryptor struct + func (p *CBCEncryptor) Decrypt(text, appid string) ([]byte, error) + func (p *CBCEncryptor) Encrypt(text, appid string) (string, error) + type EncryptResult struct + Encrypt string + MsgSignature string + Nonce string + Timestamp string + type PKCS7Encoder struct + BlockSize int + func (p *PKCS7Encoder) Decode(decrypted []byte) []byte + func (p *PKCS7Encoder) Encode(text []byte) []byte + type WXBizMsgCrypt struct + func NewBizMsgCrypt(appId, token, encodingAESKey string) (*WXBizMsgCrypt, error) + func (w *WXBizMsgCrypt) Decrypt(msgSignature, timestamp, nonce, body string) ([]byte, error) + func (w *WXBizMsgCrypt) Encrypt(replyMsg, nonce string, timestamp ...string) (*EncryptResult, error) + type XMLParse struct