10 2019 档案

摘要:实现思路,先设置失效时间,将失效时间转为时间戳,使用DESEncrypt进行加密,将加密后的字符返回 验证的时候传入加密后的密文,先用DESEncrypt进行解密,解密后将时间戳转换为时间格式和当前时间比较,如果小于当前时间则表示已过期 新建DESEncrypt类 public class DESE 阅读全文
posted @ 2019-10-12 17:16 dongminglong 阅读(586) 评论(0) 推荐(0)
摘要:参考文章:https://blog.csdn.net/liwan09/article/details/83820651 阅读全文
posted @ 2019-10-11 18:52 dongminglong 阅读(459) 评论(0) 推荐(0)