Wechat Message Encryption Wrapper
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)