This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cryptography

 
Rahul Ghai
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to write a class which will prompt for the file which has to be encrypted, and also prompt the password and generate a SecretKey object on the basis of this password. After encrypting the contents should be written to another file.
In the same way similar class is required to decrypt the contents and write the decrypted contents in another file.
Please help me with the solution.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go to the Sun site and lookup the JCE (Java Cryptography Extension). Buy this book:
http://www.amazon.com/exec/obidos/ASIN/1565924029/electricporkchop
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!