EliteAndroidApps / WhatsApp-Crypt12-Decrypter

Decrypts WhatsApp msgstore.db.crypt12 files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java.security.InvalidKeyException: Illegal key size

jdmendez opened this issue · comments

Error while decrypting Android-derived whatsap crypt12 file, on Windows 7 (CMD.exe prompt java -jar decrypt12.jar)

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:58)
Caused by: java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
at javax.crypto.Cipher.init(Cipher.java:1393)
at javax.crypto.Cipher.init(Cipher.java:1327)
at decrypt12.decrypt12.decrypt(decrypt12.java:94)
at decrypt12.decrypt12.main(decrypt12.java:146)
... 5 more

It seems java is not formating the KeyFile Content properly.