资源简介

加密解密,前端加密,后端解密,CryptoJS,AESEncryptUtil.java DESEncryptUtil.java Base64EncodeUtil.java MD5Util.java

资源截图

代码片段和文件信息

package com.zzy;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class CodeServlet
 */
public class CodeServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public CodeServlet() {
        super();
        // TODO Auto-generated constructor stub
    }

/**
 * @see HttpServlet#doGet(HttpServletRequest request HttpServletResponse response)
 */
protected void doGet(HttpServletRequest request HttpServletResponse response) throws ServletException IOException {
// TODO Auto-generated method stub
response.getWriter().append(“Served at: “).append(request.getContextPath());






}

/**
 * @see HttpServlet#doPost(HttpServletRequest request HttpServletResponse response)
 */
protected void doPost(HttpServletRequest request HttpServletResponse response) throws ServletException IOException {
// TODO Auto-generated method stub
doGet(request response);
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-03-25 20:41  js-encode-demo\
     文件        1142  2017-03-25 12:39  js-encode-demo\.classpath
     文件        1090  2017-03-25 12:27  js-encode-demo\.project
     目录           0  2017-03-25 20:41  js-encode-demo\.settings\
     文件         639  2017-03-25 12:27  js-encode-demo\.settings\.jsdtscope
     文件          74  2017-03-25 12:51  js-encode-demo\.settings\org.eclipse.core.resources.prefs
     文件         430  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.jdt.core.prefs
     文件          90  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.m2e.core.prefs
     文件         853  2017-03-25 12:38  js-encode-demo\.settings\org.eclipse.wst.common.component
     文件         252  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件          50  2017-03-25 12:27  js-encode-demo\.settings\org.eclipse.wst.validation.prefs
     文件         969  2017-03-25 13:58  js-encode-demo\pom.xml
     目录           0  2017-03-25 20:41  js-encode-demo\src\
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\java\
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\java\com\
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\java\com\zzy\
     文件        1212  2017-03-25 14:31  js-encode-demo\src\main\java\com\zzy\CodeServlet.java
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\java\com\zzy\utils\
     文件        5464  2017-03-25 20:14  js-encode-demo\src\main\java\com\zzy\utils\AESEncryptUtil.java
     文件        1100  2017-03-25 14:36  js-encode-demo\src\main\java\com\zzy\utils\base64EncodeUtil.java
     文件        1581  2017-03-25 20:36  js-encode-demo\src\main\java\com\zzy\utils\CryptoHelper.java
     文件        4519  2017-03-25 14:10  js-encode-demo\src\main\java\com\zzy\utils\DESEncryptUtil.java
     文件        1800  2017-03-25 13:29  js-encode-demo\src\main\java\com\zzy\utils\MD5Util.java
     目录           0  2017-03-25 12:27  js-encode-demo\src\main\resources\
     目录           0  2017-03-25 20:41  js-encode-demo\src\main\webapp\
     文件        1107  2017-03-25 20:23  js-encode-demo\src\main\webapp\aes.jsp
     文件        3810  2017-03-25 14:40  js-encode-demo\src\main\webapp\base64.jsp
     文件        2214  2017-03-25 20:34  js-encode-demo\src\main\webapp\CryptoJS.jsp
............此处省略166个文件信息

评论

共有 条评论