gem install 'we_whisper'
or using bundler:
gem 'we_whisper'
whisper = WeWhisper::Whisper.new appid, token, encoding_aes_key
whisper.decrypt_message(encrypted_message, nonce, timestamp)
whisper.encrypt_message(message, nonce, timestamp)
A Ruby Wrapper for Wechat Message Encryption.
gem install 'we_whisper'
or using bundler:
gem 'we_whisper'
whisper = WeWhisper::Whisper.new appid, token, encoding_aes_key
whisper.decrypt_message(encrypted_message, nonce, timestamp)
whisper.encrypt_message(message, nonce, timestamp)
A Ruby Wrapper for Wechat Message Encryption.