Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TripleDES key

 
ilin kuo
Greenhorn
Posts: 2
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic