-1

I have to implement 3DES encryption using 3DES in java.

Could you please suggest and provide good samples to proceed.

Arulkumar
  • 12,966
  • 14
  • 47
  • 68
Erick
  • 1
  • 2
    Similar to http://stackoverflow.com/questions/20227/how-do-i-use-3des-encryption-decryption-in-java – Mark Byers Mar 29 '10 at 06:24
  • do you need to really implement it or just to use the algorithm? (also if from a library) – Jack Mar 29 '10 at 06:24
  • I have to use TripleDES for encryption and decryption. – Erick Mar 29 '10 at 06:31
  • 2
    You'd be a lot better off using an existing library than trying to implement it yourself unless you're very familiar with implementing encryption algorithms. – Timo Geusch Mar 29 '10 at 07:33
  • I did not quite understand what did u mean by saying use an existing library. So I have implement ssl communication using SSLV3 protocols before. Now I need to use TripleDES . Hence, I needed help. – Erick Mar 29 '10 at 18:27
  • TripleDES is extremely old and no one uses it anymore. SSLV3 doesn't like using TrippleDES, although it is on the list of supported ciphers. I suspect you are making a serious mistake and Rewriting ssl is a serious mistake. – rook Mar 29 '10 at 20:13

1 Answers1

1

You can use bouncycastle library. Look at: DESedeEngine

Michał Niklas
  • 53,067
  • 18
  • 70
  • 114