++

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

//取值之后进行
StringBuffer buffer=new StringBuffer();
for (int i = 0; i < enBytes.length; i++)
{
if(i!=0)
{
buffer.append(",");
}
buffer.append(enBytes[i]);
}
System.out.println("加密后的密文:" + buffer.toString());

String[] temp=buffer.toString().split(",");
byte[] b = new byte[temp.length];
for (int i = 0; i < temp.length; i++)
{
b[i] = Byte.parseByte(temp[i]);
}
String s1 = new String(enBytes);

posted on 2014-11-04 01:52  自制力缺失症患者  阅读(250)  评论(0编辑  收藏  举报