Skip to content
微信开放平台加解密库 (Golang)
Go
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of heroicyang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
crypto.go
crypto_test.go
pkcs7.go

README.md

wechat-crypter

微信开放平台加解密库 (Golang)

Usage

$ go get github.com/KonishiLee/wechat-crypter
import "github.com/KonishiLee/wechat-crypter"

token := "RMNlACHlV5ThzfRlVS4D4"
corpID := "wx5823bf96d3bd56c7"
encodingAESKey := "jWmYm7qr5nMoAUwZRjGtBxmz3KA1tkAj3ykkR6q2B2C"

msgCrypter, _ := crypter.NewMessageCrypter(token, encodingAESKey, corpID)
msgDecrypt, corpID, err := msgCrypter.Decrypt("msgEncrypt")

Doc

http://godoc.org/github.com/KonishiLee/wechat-crypter

You can’t perform that action at this time.