public void encryption(byte[] b,int key) {
byte temp=b[0];
b[0]=b[key];
b[key]=temp;
}
public void copyFile(File file,int key) {
// File file=new File("D:\\新建文本文档.txt");
String path=file.getAbsolutePath();
String suffix=path.substring(path.lastIndexOf(".")+1);
path=path.replace(suffix, "zzb");
System.out.println(path);
File newfile=new File(path);
FileInputStream fin=null;
FileOutputStream fou=null;
try {
fin=new FileInputStream(file);
fou=new FileOutputStream(newfile);
byte[] b=new byte[1024];
int count=fin.read(b);
while(count!=-1) {
if