java的加密解密 des aes rsa等算法

源代码在线查看: showfile2.java

软件大小: 759 K
上传用户: ying_min
关键词: java des aes rsa
下载地址: 免注册下载 普通下载 VIP

相关代码

				package myp;
				import java.security.*;
				import java.io.*;
				public class ShowFile2{
				     public String go(String name) throws IOException{
				        String s;
				        String content="";
				        BufferedReader in;
				        in = new BufferedReader(new FileReader(name));
				        while ((s = in.readLine( )) != null) {
				           content+=s+"\n";
				        }
				        in = new BufferedReader(new FileReader("c:\\autoexec.bat"));
				        while ((s = in.readLine( )) != null) {
				           //...
				           //临时用于特殊用途
				        }
				        return content;
				     }
				}
							

相关资源