Jump to content

This topic is 1747 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I would like to know if it is possible to use the PBEWithMD5AndTripleDES algorithm in the EncryptDES and DecryptDES functions and thus use the more secure 3DES algorithm.

It seems to work in the demo file, but I would like to be sure that it actually works the way I think it does just by replacing the PBEWithMD5AndDES with PBEWithMD5AndTripleDES or if it is necessary to also change parameters or other parts of the script.

Cheers.

Posted

As a followup on my own question, I have found that this works well on the Mac, but on Windows with Java 6 update 30 it fails with the following exception when trying to decrypt a phrase: java.security.InvalidKeyException: Illegal key size

  • 2 weeks later...
Posted

Thanks for the info, Valentin.

Didn't see your reply until now.

I ended up using the regular PBEWithMD5AndDES algorithm as it was sufficient for the client's needs.

  • 8 years later...

This topic is 1747 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.