Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cryptography  RSS feed

 
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!