TripleDES does not use those key sizes. It uses 168 bit (DES uses 56 bit, and TripleDES uses 3 times that - hence its name).
With DES and TripleDES you don't specify the key length, because they're fixed.
Elangeswaran kangaraj wrote:
Thanks for your quick reply. I want to use Triple DES and key length should be following 16,32,64,128,256 and 512. Bit value may be we read from a properties files.
Kindly tell me how we implement...