随笔分类 -  JAVA工作总结

上一页 1 2

Base64编码加密
摘要:package liferay;public class Base64 { public static final char EQUAL = '='; public static final char PLUS = '+'; public static final char QUESTION = '... 阅读全文

posted @ 2015-09-14 15:40 airycode 阅读(311) 评论(0) 推荐(0)

MD5加密
摘要:在现在的信息交流的时代中,我们的信息安全是很重要的,所以我们需要对网络上的信息的传递来加密。package com.demo.test1;import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;... 阅读全文

posted @ 2015-09-06 15:58 airycode 阅读(661) 评论(0) 推荐(0)

日期的工具类
摘要:在开发的时候,我们时常需要对日期需要做处理,比如说日期的之间的天数,日期前一个月是几号,日期的各种操作吧,自己就写一个工具类,方便以后的开发的使用。package com.demo.test1;import java.text.ParseException;import java.text.Simp... 阅读全文

posted @ 2015-09-06 15:43 airycode 阅读(229) 评论(0) 推荐(0)

java生成随机六位数的验证码&随机生成十位数ValidCode码,用于邮件的验证&检查是不是符合为合法的中国的手机号码
摘要:package com.demo.test1;import java.security.NoSuchAlgorithmException;import java.security.SecureRandom;import java.util.regex.Matcher;import java.util... 阅读全文

posted @ 2015-09-06 11:35 airycode 阅读(1075) 评论(0) 推荐(0)

上一页 1 2

导航