• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception Thrown while Decrypting the Password  RSS feed

 
ashwin bala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. I have implemented encryption and decryption in this code.. Encryption is happening... but every time it gives different encrypted value .. i am not sure whether it is right or not ?

in decryption it is fetching correct values sometimes but sometimes it giving

badpadding exception ....



please let me know if there is any error in the code ?

thanks in advance
 
Jonas Isberg
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you TellTheDetails?

ashwin bala wrote:Encryption is happening... but every time it gives different encrypted value .. i am not sure whether it is right or not ?


Is there any reason you can think of why it gives different values?
Why would this be a problem?
Why would this be the expected behaviour?
What factors control what result the encryption will give?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!