Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
625 stars 183 forks source link

How to generate message public key and message private key by myself? #354

Closed CanvaChen closed 1 year ago

CanvaChen commented 1 year ago

Hi, I’m interested in your project and I want to know how to generate message public key and message private key by myself. I know that these keys are usually stored in the axolotl.db file under the path /data/data/com.whatsapp/databases/, but I want to create them from scratch. Could you please explain the format and algorithm of these keys? Thank you.

Auties00 commented 1 year ago

Hi, I’m interested in your project and I want to know how to generate message public key and message private key by myself. I know that these keys are usually stored in the axolotl.db file under the path /data/data/com.whatsapp/databases/, but I want to create them from scratch. Could you please explain the format and algorithm of these keys? Thank you.

honestly I've got no idea, I implemented the mobile protocol by reversing the web one first.