A Java tool to decrypt WhatsApp crypt12 files.
A Java tool to decrypt WhatsApp crypt12 files using a modified cryptography API library (based on Spongy Castle).
- Linux. Tested on Ubuntu Linux 16.04.
- OpenJDK (not Oracle) version of Java.
To decrpt, do the following:
- Clone the repo.
$ git clone https://gitlab.com/stackpointer/whatsapp-crypt12.git
$ cd whatsapp-crypt12
- Compile crypt12.java.
$ javac -classpath "lib/whatsapp_spongycastle.jar:." crypt12.java
- Copy
key
andmsgstore.db.crypt12
files to the same repo directory
$ cp /path/to/file/key .
$ cp /path/to/file/msgstore.db.crypt12 .
- Decrypt using:
java -cp "lib/whatsapp_spongycastle.jar:." crypt12
- This will not work on Oracle Java as it require JCE provider libraries to be signed.
WhatsApp crypt12 decryption tool was created by and is maintained by Mohamed Ibrahim.
Copyright 2008-2016 Digital Internals. Code released under the MIT license.