![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java Code
gaoshou137
这个作者很懒,什么都没留下…
展开
-
Java 加密之Desede加密(不用Base64)
项目中用到了DES加密,经过一番搜索网上找到不少代码,但都用到了Base64编码,可是这个东西是sun自用的包,不推荐使用的,心理别扭就自己找到了不用它的方法。代码如下:import java.io.UnsupportedEncodingException;import java.math.BigInteger;import java.security.spec.KeySpec;原创 2012-10-26 22:23:06 · 3299 阅读 · 0 评论 -
java 文件转码--native2ascii
native2ascii -encoding UTF-8 D:\a.txt D:\b.txtnative2ascii -reverse D:\b.txt D:\c.txt原创 2012-11-14 10:44:48 · 351 阅读 · 0 评论 -
JDeveloper中避免中文乱码的设置方法
JDeveloper中有两处可以设置编码:JDeveloper编辑器的编码。JDeveloper编译器的编码。Yes, your answer gave a thought. And for guys who using JDeveloper, this is also useful.In JDeveloper, there are two place to set encoding:原创 2012-12-31 15:22:07 · 3743 阅读 · 0 评论