From e0577365ee91fc275854e3ed6dd3b44396a4efa2 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期四, 31 十月 2024 16:11:20 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/MD5Util.java | 48 ------------------------------------------------ 1 files changed, 0 insertions(+), 48 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/MD5Util.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/MD5Util.java index 1037459..e13282a 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/MD5Util.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/MD5Util.java @@ -73,52 +73,4 @@ return ""; } - /** - * 获取32位大写 - * - * @param str - * @return - */ - public static String getMD5_32_upper(String str) { - if (StringUtils.isNotEmpty(str)) - return getMD5(str).toUpperCase(); - return ""; - } - - /** - * 获取32位小写 - * - * @param str - * @return - */ - public static String getMD5_32_lower(String str) { - if (StringUtils.isNotEmpty(str)) - return getMD5(str).toLowerCase(); - return ""; - } - - /** - * 获取16位大写 - * - * @param str - * @return - */ - public static String getMD5_16_upper(String str) { - if (StringUtils.isNotEmpty(str)) - return getMD5(str).substring(8, 24).toUpperCase(); - return ""; - } - - /** - * 获取16位小写 - * - * @param str - * @return - */ - public static String getMD5_16_lower(String str) { - if (StringUtils.isNotEmpty(str)) - return getMD5(str).substring(8, 24).toLowerCase(); - return ""; - } - } \ No newline at end of file -- Gitblit v1.7.1