

I have a question, I used this code to encrypt a string and store it in my database, and it was successful, but when I tried to extract the data from the database, by using a resultset, rs.getString, of course it retrieved the encrypted data, when I try to put it in a String which is in this case the "String st", it repeats the process of encrypting it. Is there anyway to use this code but just the decryption part???..

http://www.roseindia.net/answers/viewqa/Java-Beginners/26017-Java-Encryption-using-AES-with-key-password-.html
http://www.roseindia.net/answers/viewqa/Java-Beginners/26020-AES-Decryption-using-key-password-.html
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.