Git Product home page Git Product logo

decrypt-xyz3w's People

Contributors

tai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

decrypt-xyz3w's Issues

Seems like it is using the wrong decryption key

bash-3.2$ java DecryptXYZ3W DaVinci1ProFilamentHolder.3w foo.zip
Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:991)
at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2260)
at DecryptXYZ3W.main(DecryptXYZ3W.java:51)
bash-3.2$ ls -lh foo.zip
-rw-r--r-- 1 xxx staff 0B Nov 16 00:59 foo.zip

Decryption not working properly

System: Win10
Java: jdk1.8.0_121
Zip-Tool: 7-zip, standard built-in win zip

Thank you very much for writing and releasing this very useful tool! However it seems not to work anymore. I get the exception "Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded". According to this post on Stakeoverflow, I changed aes.doFinal to aes.update which helped to get rid off the error. However, I now cannot open the zip archive. The created archives are reported as corrupted. Can you please have a look at this? I consider your tool so useful and I am not a java expert.

Exception in thread "main" javax.crypto.BadPaddingException

Hi!
Really like your work, however I can't get it working.
I got the following exception:
Am I using it wronly?
Is it still supported for the new versions?
Am I supossed to do something with the 'decryption key'?

Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at java.base/com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:859)
at java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:939)
at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:735)
at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2263)
at DecryptXYZ3W.main(DecryptXYZ3W.java:51)

I get no Output

Hello,
i have installed JDK 1.8.0_161 and have added the Parameters in Windows (Path, CLASSPATH). All of the three lines code to convert a 3w File to a zip File runs without an error. But i gets no zip File at the end of converting.

What is the error?
Greetings
Tibercad

4

4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.