How Binary decode works

Author: devheitorCreated Apr 20, 2021Updated Jun 3, 2025

HI I'm working on a scala/akka implementation of this project, and I can get the messages decrypted. But I'm completely stucked on how to decode the decrypted messages. The Python code is too confuse, and I couldn't yet understand the protocol implemented by whatsapp encoding messages to transform them in pure json.

Anyone can help? Any annotations, other documentations, anything? please

Source: sigalor/whatsapp-web-reveng