mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-03 16:24:31 +08:00
commit
6d9791fd11
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user