This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encryption/Decryption issue

 
Marut pandey
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am getting below exception while trying to decrypt some value. It works on my machine but does not work on production.

I know it may be something to do with JCE provider or JRE but I could not find the solution. It need to fix it as soon as possible.
Can somebody help me with this. I will appreciate for your time and effort.


ERROR [PBEWithMD5AndDES] - <NoSuchAlgorithmException: Class org.bouncycastle.jce.provider.JCESecretKeyFactory$PBEWithMD5AndDES configured for SecretKeyFactory is not a SecretKeyFactory>


Thanks,
Marut Pandey
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The obvious question is: Is the BouncyCastle provider correctly installed on the machine where this problem occurs?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic