This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Security and the fly likes Encryption/Decryption issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "Encryption/Decryption issue" Watch "Encryption/Decryption issue" New topic
Author

Encryption/Decryption issue

Marut pandey
Ranch Hand

Joined: Mar 10, 2008
Posts: 43
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
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
The obvious question is: Is the BouncyCastle provider correctly installed on the machine where this problem occurs?


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: Encryption/Decryption issue