Package com.jprotectfile.model

Examples of com.jprotectfile.model.FileEncryptor.decrypt()


        File inputFile = new File(MainView.this.jtfInputFile.getText());
        File outputFile = new File(MainView.this.jtfOutputFile.getText());
        try {
          FileInputStream file1 = new FileInputStream(inputFile);
          FileOutputStream file2 = new FileOutputStream(outputFile);
          enc.decrypt(file1, file2);
        } catch (Exception e) {
          JOptionPane.showMessageDialog(MainView.this, "Erro em descriptografar: "+e.getMessage());
        }
        MainView.this.jbEncrypt.setEnabled(true);
        MainView.this.jbDecrypt.setEnabled(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.