摘要:
= totalpage) {//当前页大于总页数 curpage = totalpage; } sql = "select * from liuyan_list_view order by id desc limit " + (curpage ... 阅读全文
posted @ 2017-06-16 21:06
bonly-ge
阅读(186)
评论(0)
推荐(0)
摘要:
1、通常我们在数据库中保存用户信息的时候需要把密码和一些其他重要信息,用加密的方式保存,这就会用到下面的MD5加密程序段 MessageDigest md=MessageDigest.getInstance("MD5"); md.update("被加密的字符串".getBytes()); String md5sString =new BigInteger(1,md.digest()).toSt... 阅读全文
posted @ 2017-06-16 19:10
bonly-ge
阅读(814)
评论(0)
推荐(0)

浙公网安备 33010602011771号