dcsimg
Encrypt files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chintu_Kalidindi
Posted On:   Thursday, July 8, 2004 08:04 AM

I have been tasked with encrypting files before uploading them to an ftp server.Are there any free java libraries available for encryption all file types(text,pdf,image,excel...).I need to encrypt the whole file not just the file name.


Thanks in advance

Re: Encrypt files

Posted By:   Simon_Ablett  
Posted On:   Thursday, July 8, 2004 10:20 AM

Use the Java Cryptography Extensions (JCE). These used to be available as a seperate download from Sun's site but as of 1.4.2 (or maybe slightly earlier) they are now supplied as part of the standard J2SE download. Check the documentation for details of the Cipher class etc.

Regards.
About | Sitemap | Contact