Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I suggest that you check out the Java Cryptography Architecture. Commented Jul 19, 2013 at 20:29
  • Your "bad padding error" indicates a problem with the tail end of your decryption. What padding does your encryption process use? Make sure your decryption method is expecting the same sort of padding. Best to set both to PKCS#7 padding explicitly don't rely on defaults. Commented Jul 20, 2013 at 10:54
  • I've voted to close as "off topic". As the question is currently written, this is a request for a link to an existing implementation or tool. If you re-wrote it so that it focussed on the broken code, that would be different. Commented Jul 21, 2013 at 5:54
  • Sorry, I'm joining Duncan here. On the one hand you say that you don't want to focus on the encryption part, but your first sentence suggests that this is exactly what your application does. If you want to create such an application, then learn about crypto. Choose another subject otherwise. Commented Jul 21, 2013 at 14:38