주석 변경

This commit is contained in:
curry772
2026-08-13 10:36:59 +09:00
parent 26ebad85a7
commit 0263e97640
2 changed files with 8 additions and 8 deletions
@@ -11,9 +11,9 @@ import org.nfunk.jep.function.PostfixMathCommand;
import com.eactive.eai.common.security.CryptoModuleService; import com.eactive.eai.common.security.CryptoModuleService;
/** /**
* JEP 트랜스포머 함수 — DJB ERP 연동 복호화. * JEP 트랜스포머 함수 — DJB 연동 복호화.
* *
* 사용법: DJBErpDecryt(encBase64, moduleName) * 사용법: djbdecryt(encBase64, moduleName)
* *
* 파라미터: * 파라미터:
* encBase64 : Base64 인코딩된 암호문 * encBase64 : Base64 인코딩된 암호문
@@ -33,7 +33,7 @@ public class DJBDecrypt extends PostfixMathCommand {
checkStack(inStack); checkStack(inStack);
if (curNumberOfParameters != 2) { if (curNumberOfParameters != 2) {
throw new ParseException("DJBErpDecryt: 파라미터는 2개개여야 합니다 (encBase64, moduleName"); throw new ParseException("DJBDecrypt: 파라미터는 2개개여야 합니다 (encBase64, moduleName");
} }
String moduleName = inStack.pop().toString(); String moduleName = inStack.pop().toString();
@@ -46,7 +46,7 @@ public class DJBDecrypt extends PostfixMathCommand {
} catch (ParseException e) { } catch (ParseException e) {
throw e; throw e;
} catch (Exception e) { } catch (Exception e) {
throw new ParseException("DJBErpDecryt 복호화 실패: " + e.getMessage()); throw new ParseException("DJBDecrypt 복호화 실패: " + e.getMessage());
} }
} }
} }
@@ -11,9 +11,9 @@ import org.nfunk.jep.function.PostfixMathCommand;
import com.eactive.eai.common.security.CryptoModuleService; import com.eactive.eai.common.security.CryptoModuleService;
/** /**
* JEP 트랜스포머 함수 — DJB ERP 연동 암호화. * JEP 트랜스포머 함수 — DJB 연동 암호화.
* *
* 사용법: DJBErpEncryt(plainText, moduleName) * 사용법: djbencrypt(plainText, moduleName)
* *
* 파라미터: plainText : 암호화할 평문 (String), moduleName : DB에 등록된 암호화 모듈명 (String) * 파라미터: plainText : 암호화할 평문 (String), moduleName : DB에 등록된 암호화 모듈명 (String)
* *
@@ -31,7 +31,7 @@ public class DJBEncrypt extends PostfixMathCommand {
checkStack(inStack); checkStack(inStack);
if (curNumberOfParameters != 2) { if (curNumberOfParameters != 2) {
throw new ParseException("DJBErpEncryt: 파라미터는 2개여야 합니다 (plainText, moduleName)"); throw new ParseException("DJBEncrypt: 파라미터는 2개여야 합니다 (plainText, moduleName)");
} }
String moduleName = inStack.pop().toString(); String moduleName = inStack.pop().toString();
@@ -44,7 +44,7 @@ public class DJBEncrypt extends PostfixMathCommand {
} catch (ParseException e) { } catch (ParseException e) {
throw e; throw e;
} catch (Exception e) { } catch (Exception e) {
throw new ParseException("DJBErpEncryt 암호화 실패: " + e.getMessage()); throw new ParseException("DJBEncrypt 암호화 실패: " + e.getMessage());
} }
} }
} }