암복호화 dll 제거

main
이범준 4 months ago
parent ad0d2770b0
commit b6826ddd99

Binary file not shown.

@ -16,7 +16,6 @@ import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import cokr.xit.base.code.CommonCode; import cokr.xit.base.code.CommonCode;
import cokr.xit.base.code.service.CodeService; import cokr.xit.base.code.service.CodeService;
import cokr.xit.base.crypto.bean.XitAria;
import cokr.xit.base.security.access.service.AuthorityService; import cokr.xit.base.security.access.service.AuthorityService;
import cokr.xit.base.user.SigunguQuery; import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.service.SigunguDepartmentService; import cokr.xit.base.user.service.SigunguDepartmentService;
@ -170,11 +169,6 @@ public class MainController extends cokr.xit.base.web.MainController {
@RequestMapping(name="접속자 IP 확인", value="/ipInfo.do") @RequestMapping(name="접속자 IP 확인", value="/ipInfo.do")
public ModelAndView ipInfo(HttpServletRequest hreq) { public ModelAndView ipInfo(HttpServletRequest hreq) {
//테스트
XitAria crypto = new XitAria("xit-aria");
String a = crypto.encrypt("1234567890123");
String b = crypto.decrypt(a);
String remoteAddr = CmmnUtil.getClientIpAddr(hreq); String remoteAddr = CmmnUtil.getClientIpAddr(hreq);
@ -208,8 +202,7 @@ public class MainController extends cokr.xit.base.web.MainController {
return new ModelAndView("jsonView") return new ModelAndView("jsonView")
.addObject("remoteAddr", remoteAddr) .addObject("remoteAddr", remoteAddr)
.addObject("net", net) .addObject("net", net)
.addObject("a",a) ;
.addObject("b",b);
} }
@ -219,4 +212,5 @@ public class MainController extends cokr.xit.base.web.MainController {
return sseBean.start(req.getParameter("sseKey")); return sseBean.start(req.getParameter("sseKey"));
} }
} }

@ -8,13 +8,13 @@
"blockSize": 1024 "blockSize": 1024
} }
}, },
{ "name": "xit-aria", //{ "name": "xit-aria",
"class": "cokr.xit.base.crypto.bean.XitAria", // "class": "cokr.xit.base.crypto.bean.XitAria",
"settings": { // "settings": {
"charset": "EUC-KR", // "charset": "EUC-KR",
"key": "Copyright (c) 2015 - (주)엑스아이티" // "key": "Copyright (c) 2015 - (주)엑스아이티"
} // }
} //}
], ],
"targetValues": [ "targetValues": [
{ "name": "주민등록번호", { "name": "주민등록번호",

Loading…
Cancel
Save