摘要: /** * 身份证号脱敏 * 脱敏规则: 保留前六后三, 适用于15位和18位身份证号 * @param idNumber * @author cy * @since 2022-04-22 */ public static String desensitizedIdNumber(String idN 阅读全文
posted @ 2023-04-24 15:51 我的心儿 阅读(654) 评论(0) 推荐(0)
摘要: private final static int entNameLength = 32; public static void main(String[] args) { String entname ="王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王王 阅读全文
posted @ 2023-04-24 15:44 我的心儿 阅读(24) 评论(0) 推荐(0)
摘要: package cn.tencent.data.ext.service.handler.common.util; import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import java.securi 阅读全文
posted @ 2023-04-24 13:04 我的心儿 阅读(15) 评论(0) 推荐(0)