lovehong0306
2011-05-15 10:37请教高手:new String(byte).getBytes() 与 byte.clone() 得到的Byte有啥区别
在做加密解密时发现
将加密后的Byte转成String后再转回Byte 不能正常解密
抛出 javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
直接用原加密Byte解密或者Byte.clone()解密正常
有谁遇见过这种问题吗
是什么原因
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- 在Web服务器问题上POST图像
- java
- upload
- post
- php
- 2个回答
- 请教高手:new String(byte).getBytes() 与 byte.clone() 得到的Byte有啥区别
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答