PBEWithMD5AndTripleDES question - urgent
843810Oct 28 2003 — edited Nov 3 2005I have my Java environment set up with JDK1.3 and JCE1.2.2. I am trying to encrypt using the symmetric algorithm PBEWithMD5AndTripleDES. However, I get the following error:
java.security.NoSuchAlgorithmException: Algorithm PBEWithMD5AndTripleDES not available
at javax.crypto.SunJCE_b.a(DashoA6275)
at javax.crypto.SecretKeyFactory.getInstance(DashoA6275)
at nvxCrypt.encryptString(nvxCrypt.java:226)
at useCrypt.main(useCrypt.java:23)
I have added the SunJCE and BouncyCastle providers and I can successfully en/decrypt the above using JDK1.4. However, I need to implement this component with JDK1.3. If this doesn't work then I will scale the encryption down to PBEWithMD5AndDES, which has been working fine.
Could someone please help me or is the implementation of TripleDES not available in JCE1.2.2? The documentation does say the support is there but doesn't explicitly state the implementation of the cipher.
Thanks for your help in advance!
Mikey