File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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: 42965
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
It's not a secret anymore!