- ScpHashB64 메서드 INI_FILE 파라미터 추가 - DamoManager/README 갱신

This commit is contained in:
Rinjae
2026-07-24 10:35:16 +09:00
parent 5db83e485d
commit a9d6567ed4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ int rc = damo2.getReturnCode(); // 0: 성공, -1:
|---|---|---|---|
| `String encrypt(String plain)` | `ScpEncB64(INI_FILE, "KEY1", plain, "UTF-8")` | `Base64.encode(plain.getBytes("UTF-8"))` | `plain` (원문) |
| `String decrypt(String b64)` | `ScpDecB64(INI_FILE, "KEY1", b64, "UTF-8")` | `new String(Base64.decode(b64), "UTF-8")` | 입력 그대로 |
| `String hash(int type, String src)` | `ScpHashB64(type, src, "UTF-8")` | `MessageDigest(SHA-256/512).digest(src) → Base64` | `src` (원문) |
| `String hash(int type, String src)` | `ScpHashB64(INI_FILE, type, src)` | `MessageDigest(SHA-256/512).digest(src) → Base64` | `src` (원문) |
해시 `type` 상수: