Package com.encryption

Examples of com.encryption.DesEncrypter.decrypt()


     * DesEncrypter对象调用解密模块,解密出原始文件
     */
    File decryptedFile = new File(file.getAbsolutePath() + ".dec");
    InputStream in = null;
    try {
      decrypter.decrypt(new FileInputStream(file), new FileOutputStream(
          decryptedFile));
      /*
       * 返回封装了原始文件的输入流
       */
      in = new FileInputStream(decryptedFile);
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.