- 기본 charset 을 UTF-8 로 변경
- DamoManager CHARSET 상수/javadoc 갱신 - README 내 charset 표기 동기화 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,8 @@ import java.util.Base64;
|
||||
* fake 모드 진입 시 클래스 로딩 시점에 System.err 로 강한 경고 배너 출력.
|
||||
*
|
||||
* fake 모드 동작:
|
||||
* - encrypt(s) : Base64.encode(s.getBytes(EUC-KR)) -- 암호화 없음
|
||||
* - decrypt(s) : new String(Base64.decode(s), EUC-KR)
|
||||
* - encrypt(s) : Base64.encode(s.getBytes(UTF-8)) -- 암호화 없음
|
||||
* - decrypt(s) : new String(Base64.decode(s), UTF-8)
|
||||
* - hash(t, s) : SHA-256(71) / SHA-512(73) JRE MessageDigest -> Base64
|
||||
*/
|
||||
public class DamoManager {
|
||||
@@ -24,7 +24,7 @@ public class DamoManager {
|
||||
|
||||
private static final String INI_FILE = "/prod/damo/ba_scp/scpdb_agent.ini";
|
||||
private static final String KEY = "KEY1";
|
||||
private static final String CHARSET = "EUC-KR";
|
||||
private static final String CHARSET = "UTF-8";
|
||||
|
||||
private static final int SCP_OK = 0;
|
||||
private static final int SCP_FAIL = -1;
|
||||
|
||||
Reference in New Issue
Block a user