Name Last Update
bin Loading commit data...
coverage Loading commit data...
lib Loading commit data...
spec Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
Guardfile Loading commit data...
README.md Loading commit data...
we_whisper.gemspec Loading commit data...

README.md

Wechat Message Encryption Wrapper

Build Status Coverage Status Gem Version License

微信加密解密技术方案

install gem

gem install 'we_whisper'

or using bundler:
gem 'we_whisper'

Create whisper

whisper = WeWhisper::Whisper.new appid, token, encoding_aes_key

Decrypt message

whisper.decrypt_message(encrypted_message, nonce, timestamp)

Encrypt message

whisper.encrypt_message(message, nonce, timestamp)