Skip to content

Commit 1cc4a1e

Browse files
wolfboysCopilot
andauthored
Update streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/authentication/JWTUtil.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4f9eaac commit 1cc4a1e

File tree

1 file changed

+1
-1
lines changed
  • streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/authentication

1 file changed

+1
-1
lines changed

streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/authentication/JWTUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public static String encrypt(String content) throws Exception {
216216
Cipher cipher = Cipher.getInstance(ALGORITHM);
217217
cipher.init(Cipher.ENCRYPT_MODE, keySpec, new GCMParameterSpec(GCM_TAG_LENGTH, iv));
218218

219-
// 加密数据
219+
// Encrypt data
220220
byte[] encrypted = cipher.doFinal(content.getBytes(StandardCharsets.UTF_8));
221221

222222
// 组合IV + 密文

0 commit comments

Comments
 (0)