• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with decryption  RSS feed

 
Hari Dhanakoti
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I had been working with "AES" algorithm. As a part of the process I had stored the encrypted value in the database.

I am now trying to get back the original String from the encrypted value stored in the database.

While using the cipher class initiation as decrypt mode how could i get back the original string.



Please help me out with this problem.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what's going on with this code, but here's a complete example of how to use AES in Java.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!