摘要: package TestToken; import com.auth0.jwt.JWT; import com.auth0.jwt.JWTVerifier; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.interfaces.Claim; import com.auth0.jwt.interfaces.Decod... 阅读全文
posted @ 2018-04-21 22:37 云打印 阅读(3813) 评论(0) 推荐(0) 编辑
摘要: 总结MD5算法和SHA都是不可逆的算法,网上的破解方法都是穷举出来的,只要密码长度长一点,是不可能解出来的 MD5算法破解比较容易,加密速度比较快 SHA算法破解比较难,加密速度比较慢 一起使用虽然很保密解码几乎不可能,但是会浪费很多开销。 阅读全文
posted @ 2018-04-21 09:42 云打印 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 客户端一定要post请求服务器端才能接收数据。 阅读全文
posted @ 2018-04-21 09:31 云打印 阅读(183) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping("/downLoadFile") public void DownLoadFile(HttpServletRequest request, HttpServletResponse response) throws IOException { String fileName=request.getParameter("fileName")... 阅读全文
posted @ 2018-04-21 09:29 云打印 阅读(371) 评论(0) 推荐(0) 编辑
摘要: @Test public void TestChiPan() throws IOException { // File file=new File("G:\\timg.jpg"); //File file=new File("C:\\Users\\win10\\Desktop\\新建文件夹\\答辩PPT.pptx"); File file=n... 阅读全文
posted @ 2018-04-21 09:28 云打印 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 分享一下学了大半年的后端, 先学了,J2SE v2,Mysql数据库,JDBC数据库 接下来是网页基础,HTML,CSS,JAVAScript,Jquery javaweb基础:Jsp,Servlet 网页交互:Ajax,Json 后端常用框架:struts2+spring+hibernate(ss 阅读全文
posted @ 2018-04-21 09:25 云打印 阅读(192) 评论(0) 推荐(0) 编辑