This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes TripleDES key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "TripleDES key" Watch "TripleDES key" New topic
Author

TripleDES key

ilin kuo
Greenhorn

Joined: Jul 07, 2001
Posts: 2
I'm trying to encrypt and decrypt data using TripleDES algorithm and I thought I could use JCE. However, the javax.crypto.Cipher class requires a key which is generated by javax.crypto.KeyGenerator. I want to supply my own key rather than the one that's generated.

Does anyone have any hints?


I-Lin Kuo<BR>Certified Macromedia ColdFusion 5.0 Developer.
 
wood burning stoves
 
subject: TripleDES key
 
Similar Threads
Triple DES encrytpion and decryption using 256 bit and 512 bit
encrypt data
No security in Java
help needed to implement encryption and decryption
encrypt data in database