How to decrypt rar file using java / find password | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to decrypt rar file using java / find password

im using android studio, in java language to create an app that finds your lost password to encrypted rar files. i have a keygenerator class, a decoder class, and a possiblekeyfound class. my question is how do i locate the rar file i want to decrypt, and how do i start decrypting it. in my decoder class, i tried using urldecode because the only way i found to locate the file was to save its url, but i got errors everywhere. i heard that you can convert the entire file to binary, and then begin decrypting. what would be my best option? if anyone could send me working example code, that would be very helpful to learn from

2nd Jun 2018, 6:52 PM
Shon Gosnell
Shon Gosnell - avatar
1 Answer
27th Jun 2018, 8:50 AM
Alexander Sokolov
Alexander Sokolov - avatar