This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have written encryption and decryption program using AES in ContactAction.java. I am encrypting the id (primary key) and emai id (string) & sending a mail to the user. the id and email are encrypted and a link is send to the mail id in with encrypted id and email. When the user clicks that link he should be able to see the message what he has typed. But during decryption i am getting "javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16"
Please help me understand where I am going wrong in my code: