File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TripleDES key

 
ilin kuo
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic