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)