Skip to content

Commit 9dfbb84

Browse files
gadfly3173colorful3
authored andcommitted
fix: sout clean
1 parent e01a8a2 commit 9dfbb84

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/io/github/talelin/latticy/common/util/CaptchaUtil.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ public static LoginCaptchaBO decodeTag(String secret, String iv, String tag) thr
170170
public static String aesEncode(String secret, String iv, String content) throws GeneralSecurityException {
171171
SecretKey secretKey = new SecretKeySpec(secret.getBytes(), AES);
172172
Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM);
173-
System.out.println(iv.length() + "///" + iv.getBytes(StandardCharsets.UTF_8).length + "///" + iv.getBytes(StandardCharsets.US_ASCII).length);
174173
cipher.init(Cipher.ENCRYPT_MODE, secretKey, new IvParameterSpec(iv.getBytes(StandardCharsets.US_ASCII)));
175174
byte[] byteEncode = content.getBytes(StandardCharsets.UTF_8);
176175
// 根据密码器的初始化方式加密

0 commit comments

Comments
 (0)