我记得之前是之前异或163,当时用java写的代码:
[Java] 纯文本查看 复制代码 import java.io.*;
public class Change{
public static void main(String[] args){
try{
File inFile = new File("缓存文件名称.uc");
File outFile = new File("歌曲名称.mp3");
DataInputStream dis = new DataInputStream( new FileInputStream(inFile));
DataOutputStream dos = new DataOutputStream( new FileOutputStream(outFile));
byte[] by = new byte[1000];
int len;
while((len=dis.read(by))!=-1){
for(int i=0;i<len;i++){
by[i]^=0xa3;
}
dos.write(by,0,len);
}
dis.close();
dos.close();
}catch(IOException ioe){
System.err.println(ioe);
}
}
}
|