It's not a secret anymore!*
The moose likes Java in General and the fly likes How to encrypt a file attachement in Java Mail? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to encrypt a file attachement in Java Mail?" Watch "How to encrypt a file attachement in Java Mail?" New topic
Author

How to encrypt a file attachement in Java Mail?

Srivani Nallan
Greenhorn

Joined: Apr 11, 2003
Posts: 16
I can attach a file to a mail. How do I encrypt a file that's being attached to the mail? Can I use the Java cryptography package? Please help me! I am confused.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Sure you can. But before any sensible answer can be given, the question must be: who or what needs to be able to decrypt the e-mail?
- Peter
Srivani Nallan
Greenhorn

Joined: Apr 11, 2003
Posts: 16
Any other mail client like microsoft outlook,netscape etc should be able to open the attachment and save it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to encrypt a file attachement in Java Mail?
 
Similar Threads
encrypt and decrypt a file in Java
Image encryption using java.....
JAVA AND XML
encrypt and decrypt a file of size about 10 mb
Encrypting images