File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TripleDES key
 
Similar Threads
help needed to implement encryption and decryption
encrypt data
Triple DES encrytpion and decryption using 256 bit and 512 bit
No security in Java
encrypt data in database