encryption - Java JCE Encrypt Folders? -


is possible encrypt entire folders java's jce library. folders contain other folders/files if problem. don't know jce is, stands java cryptography extension , used encryption in java.

no. can't encrypt entire folders java's jce library. it's not hard zip first though using stream wrapper zipinputstream , zipoutputstream. since don't care file size reduction, use jtar. make easy tar folder after can encrypted jce other file.

i make class called public class folderencrypter methods public byte[] encryptfolder( file folder ) , public file decryptfolder( public byte[] ). easy reuse throughout code whenever need it.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -