数据脱敏
文章平均质量分 58
瑾莫
交流码代码,提高开发效率
展开
-
java敏感信息数据脱敏
敏感信息数据脱敏原创 2022-03-29 16:56:50 · 166 阅读 · 0 评论 -
数据脱敏处理
import org.apache.commons.lang.StringUtils; /** 数据脱敏 / public class DataMaskUtils { /* 电话号码脱敏 / public static String mobileMask(String mobile){ if (StringUtils.isNotEmpty(mobile)){ return mobile.replaceAll("(\w{3})\w(\w{4})"原创 2021-11-29 16:48:13 · 2903 阅读 · 0 评论