I am trying to get TripleDES encryption working in Java. From the Wikipedia article under Keying Options, I want to use option 1, where All three keys are independent.
From the Cipher docs it says to go to the reference guide here, but it still isn't clear to me.
I am working on getting examples running, and use both of these lines in different projects:
Cipher c = Cipher.getInstance("DESede");
Cipher cipher = Cipher.getInstance("TripleDES/ECB/PKCS5Padding");
Both compile fine, so what's the difference? Should I be using one over the other? Do both of these work for using three separate keys?