From 45549c4aee8a48c752f5036311da660535bfa722 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 07 一月 2022 09:57:30 +0800 Subject: [PATCH] 添加Mysql数据库的AES加解密方法 --- src/main/java/com/hx/util/mysql/aes/MysqlHexAes.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/hx/util/mysql/aes/MysqlHexAes.java b/src/main/java/com/hx/util/mysql/aes/MysqlHexAes.java index 2905210..4c24d45 100644 --- a/src/main/java/com/hx/util/mysql/aes/MysqlHexAes.java +++ b/src/main/java/com/hx/util/mysql/aes/MysqlHexAes.java @@ -50,7 +50,7 @@ * @param data 闇�瑕佽В瀵嗙殑鏁版嵁 * @param aesKey 绉橀挜 * @param encoding 缂栫爜锛屼笉濉粯璁TF-8 - * @return + * @return 杩斿洖澶у啓鍔犲瘑鐨勬暟鎹� * @throws Exception */ public static String encrpt(String data,String aesKey,String encoding) throws Exception { @@ -66,7 +66,7 @@ builder.append(d); } String strning = builder.toString(); - return strning; + return strning.toUpperCase(); } -- Gitblit v1.8.0