I am getting the following Exception while executing my code.
Here the code snippet which causes this error
Cipher c = Cipher.getInstance("PBEWithMD5AndDES");
I have used javax-crypto.jar.
Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting PBEWithMD5AndDES
at javax.crypto.Cipher.getInstance(DashoA13*..)
My runtime is
C:\Documents and Settings\592635>java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
What can be the reason ? Please help.