I searched a lot in the web for a solution for this problem. I´m using Python 3.4 and pyCrypto to use AES. Java already included ciphers with AES, but for some reason I can´t get Python and Java to work with each other. I don´t need to post my code, because I already lost all my hope of trying it. I´m just asking for an example of how to do it and I dont care if it´s CBC, CFB or anything else, just a working example.
1 Answer
Maybe you should have a look at these entries.
Decrypt an AES encoded message (encrypted in Python) in Java
python AES encryption java decryption
Are you encrypting in Python and decrypting in Java or what do you mean by working together? Rethink your question and try to make it a little bit easier to understand so it is possible to post a "working" solution
1 Comment
Rasmus Carlsen
I already looked up those posts, but what i mean is just a working class, where i can encrypt and decrypt in either way (from Python to Java and back again). I tried so much, but I cant find a way of doing it.
I don´t need to post my code..I would recommend to post a sample code else your question will be flagged as Off-topic. Other than that the advantage of posting the sample code is that the Stack overflow(SO) users can quickly copy paste your code and try to find a solution instead of writing a sample code themselves. This saves time.The more you help SO, the more SO will help you!