javax.crypto wasn't included in the API until JDK 1.4, so one has to install the Java Cryptography Extension with earlier JREs. Obviously someone made a change to your path or your process' invocation which removed the JCE or one if its dependencies from the classpath. If you place the JCE files (jce*.jar, local_policy.jar, sunjce_provider.jar and US_export_policy.jar) in %JAVA_HOME%/jre/lib/ext, the JRE will pick up the JCE automatically and should fix your problem.
I am trying to resovle an issue in my application. We have .properties files have DB passwords, Legacy connection properties encrypted using ibmjce.jar,ibmfw.jar,sunjceprovider.jar will all police files. The symmetric public key created in WSAD5.1 is not working in WSAD5.1.2. for decrypting my data. I could not solve the problem, i created the key again in the new version of WSAD and used, it works fine. Meanwhile i have another requirement that needs some information(password) needs to be stored in the database, encrypted. Please suggest me the best possible approach.
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF