@Test public void idCardNoHide() { Assert.assertEquals("11**************97", SensitiveUtils.idCardNoHide("110101199003072797")); }
public String idCardNoHide(String data) { if (!Strings.hasText(data)) { return data; } return customizeHide(data, 2, 2, data.length() - 4); }
SensitiveUtils { public String idCardNoHide(String data) { if (!Strings.hasText(data)) { return data; } return customizeHide(data, 2, 2, data.length() - 4); } }
SensitiveUtils { public String idCardNoHide(String data) { if (!Strings.hasText(data)) { return data; } return customizeHide(data, 2, 2, data.length() - 4); }  }
SensitiveUtils { public String idCardNoHide(String data) { if (!Strings.hasText(data)) { return data; } return customizeHide(data, 2, 2, data.length() - 4); }  String nameHide(final String data); String idCardNoHide(String data); String bankCardNoHide(String data); String cellphoneHide(String data); String emailHide(String data); String defaultHide(String data); String customizeHide(String data, int front, int tail, int hidden); }
SensitiveUtils { public String idCardNoHide(String data) { if (!Strings.hasText(data)) { return data; } return customizeHide(data, 2, 2, data.length() - 4); }  String nameHide(final String data); String idCardNoHide(String data); String bankCardNoHide(String data); String cellphoneHide(String data); String emailHide(String data); String defaultHide(String data); String customizeHide(String data, int front, int tail, int hidden);  }