we_whisper v0.1.2 WeWhisper.Whisper
This module defines the WeWhisper.Whisper
struct
Summary
Functions
Decrypts message
Encrypt message
Returns a new WeWhisper.Whisper
struct given appid string
, token string
and encoding_aes_key string
Types
Functions
decrypt_message(whisper, xml_message, timestamp, nonce, signature)
decrypt_message(t, binary, binary, binary, binary) :: {:ok, binary} | {:error, WeWhisper.Error}
Decrypts message
encrypt_message(whisper, message, nonce, timestamp)
encrypt_message(t, binary, binary, binary) :: binary
Encrypt message
Returns a new WeWhisper.Whisper
struct given appid string
, token string
and encoding_aes_key string
.