Skip to content

Commit 4f9eaac

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 268b511 commit 4f9eaac

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
@@ -212,7 +212,7 @@ public static String encrypt(String content) throws Exception {
212212

213213
SecretKeySpec keySpec = new SecretKeySpec(JWT_KEY, "AES");
214214

215-
// 初始化加密器
215+
// Initialize the cipher
216216
Cipher cipher = Cipher.getInstance(ALGORITHM);
217217
cipher.init(Cipher.ENCRYPT_MODE, keySpec, new GCMParameterSpec(GCM_TAG_LENGTH, iv));
218218

0 commit comments

Comments
 (0)