Tag Archives: encryption

Code to Encrypt Folder Structure Completely

Below is the code to encrypt/decrypt complete folder structure in java import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import javax.crypto.Cipher; import javax.crypto.CipherInputStream; import javax.crypto.CipherOutputStream; import javax.crypto.spec.SecretKeySpec; public class CryptoX { static String pwd = “”; private static String compressPassword(String … Continue reading

Posted in Java | Tagged , , , , , , , | Leave a comment