Jump to content

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

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
  • 8 years later...

This topic is 1439 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.