测试第一篇文章
2008-04-29 16:02
183 查看
你好,世界!
hello,world!
public static String encode(String ss){
byte [] bb = ss.getBytes();
for(int i=0;i<bb.length;i++){
bb[i] = (byte) ~bb[i];
}
return new String(bb);
}http://blog.csdn.net/wave2007/archive/2008/06/01/2488371.aspx http://blog.csdn.net/metababy/archive/2006/04/04/649891.aspx
hello,world!
public static String encode(String ss){
byte [] bb = ss.getBytes();
for(int i=0;i<bb.length;i++){
bb[i] = (byte) ~bb[i];
}
return new String(bb);
}http://blog.csdn.net/wave2007/archive/2008/06/01/2488371.aspx http://blog.csdn.net/metababy/archive/2006/04/04/649891.aspx