3DES encryption

Hello All,Does someone have a sample code on 3DES encryption?I need help. I can use single DES well. Is there a way I can put my Single DES to work for 3DES?thanksochomo
[204 byte] By [ochomoonyangoa] at [2007-11-26 21:03:18]
# 1

There are too many options for a single simple 3DES example. What are you trying to encrypt and decrypt. Where are you going to store the result of the encryption? How are you expecting to specify the key to use?

I don't really understand what you mean by "I can use single DES well. Is there a way I can put my Single DES to work for 3DES?" .

sabre150a at 2007-7-10 2:35:44 > top of Java-index,Security,Cryptography...
# 2
Hm... probably he means that if he changes the Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding"); to something like Cipher cipher = Cipher.getInstance("DESede"); if will it work ....will it?
panosjavaa at 2007-7-10 2:35:44 > top of Java-index,Security,Cryptography...