This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "TripleDES key" Watch "TripleDES key" New topic

TripleDES key

ilin kuo

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.
Don't get me started about those stupid light bulbs.
subject: TripleDES key
It's not a secret anymore!