venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

message type "enc" #1047

Open birdman2005 opened 9 years ago

birdman2005 commented 9 years ago

Received a message like this, what does "enc" mean? Does it mean the message is encrypted?

i removed some chars for displaying

message from="919716370407@s.whatsapp.net" id="1418029065-5" type="text" t="1418030257" ###notify="Kaif" > enc v="1" type="pkmsg" av="Android/2.11.432" > enc> message>

mgp25 commented 9 years ago

Use https://github.com/mgp25/WhatsAPI-Official there is documentation and updates about it

birdman2005 commented 9 years ago

Its still in researching?

mgp25 commented 9 years ago

@birdman2005 About encryption / Decryption? Yes, but we are working on a solution, but there are many upates and enhacements in WhatsAPI Official

birdman2005 commented 9 years ago

Thanks for your hard work

vivekanandan31 commented 9 years ago

dear friends, i am getting success while sending messages from the source WhatsApp a/c to any other accounts. while receiving messages from other users who send via client app, i am getting two types of response

  1. message from="****_@s.whatsapp.net" id="1418718067-465" offline="0" type="text" t="1418783950" notify="Vivekanandan K">  body>Yeah /body> /message>
  2. message from="_**@s.whatsapp.net" id="1418654969-87" type="text" t="1418784058" notify="kumarm885">  enc v="1" type="pkmsg" av="Android/2.11.476">3̜ԇ!pӊ ϛu3–Ĥb6ˠĎϚ̞.d��V!:йʾΨɄ󏬤!ȒKȂ#|—e_݀ʨP"B3 !񯖌=?b 8]kuм9"߶͢$fJdyࠡ�� "ل0ղ̃Ů8Ow��򈛀 (񖭳0 /enc> /message>

Regarding #1, i am using that a/c for testing from the beginning and i am getting proper messages Meanwhile #2 is a new and getting encrypted messages

i am using the latest source code from this repository

please advice

rohantk commented 9 years ago

Any solutions on how to decrypt messages from Android Devices? I am using WhatsAPINet.

-Regards,