mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
@@ -389,9 +389,9 @@ public class DesensitizedUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* IPv4脱敏,如:脱敏前:2001:0db8:86a3:08d3:1319:8a2e:0370:7344;脱敏后:2001:*:*:*:*:*:*:*
|
||||
* IPv6脱敏,如:脱敏前:2001:0db8:86a3:08d3:1319:8a2e:0370:7344;脱敏后:2001:*:*:*:*:*:*:*
|
||||
*
|
||||
* @param ipv6 IPv4地址
|
||||
* @param ipv6 IPv6地址
|
||||
* @return 脱敏后的地址
|
||||
*/
|
||||
public static String ipv6(String ipv6) {
|
||||
|
Reference in New Issue
Block a user