<commit_before># wechat-crypter
微信开放平台加解密库 (Golang)

## Usage

```bash
$ go get github.com/heroicyang/wechat-crypter
```

```go
import "github.com/heroicyang/wechat-crypter"

token := "<KEY>"
corpID := "<KEY>"
encodingAESKey := "<KEY>"

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

## Doc
[http://godoc.org/github.com/heroicyang/wechat-crypter](http://godoc.org/github.com/heroicyang/wechat-crypter)<commit_msg>update package<commit_after># wechat-crypter
微信开放平台加解密库 (Golang)

## Usage

```bash
$ go get github.com/KonishiLee/wechat-crypter
```

```go
import "github.com/KonishiLee/wechat-crypter"

token := "<KEY>"
corpID := "<KEY>"
encodingAESKey := "<KEY>"

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

## Doc
[http://godoc.org/github.com/KonishiLee/wechat-crypter](http://godoc.org/github.com/KonishiLee/wechat-crypter)
{'fraction_non_alphanumeric': 0.18001978239366964, 'fraction_numerical': 0.0, 'mean_word_length': 6.027777777777778, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2665113', 'n_tokens_mistral': 460, 'n_tokens_neox': 428, 'n_words': 56}