WeChat third-party platform message encryption and decryption implementation
go get github.com/0xff-dev/wx-crypto-sdk
Because the encrypted data has a randomly generated 16-bit string, the direct test will not pass, and the random string needs to be fixed through environment variables.
TEST_WX_CRYPTO=true go test -v .
If you find any issues, please submit a Pull Request.