File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Encryption/Decryption issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Security
Reply 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: 35440
    
    9
The obvious question is: Is the BouncyCastle provider correctly installed on the machine where this problem occurs?


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encryption/Decryption issue
 
Similar Threads
File encryption / decryption retaining line feeds
HMAC-MD5 hashing algorithm
JCE Problem...( help me asap )
PBEWithMD5AndDES Algorithm Exception
Algorithm DES not available