This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Encryption/Decryption issue" Watch "Encryption/Decryption issue" New topic

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>

Marut Pandey
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
The obvious question is: Is the BouncyCastle provider correctly installed on the machine where this problem occurs?
I agree. Here's the link:
subject: Encryption/Decryption issue
jQuery in Action, 3rd edition