Package org.aoju.bus.sensitive.strategy
Class BandCardStrategy
java.lang.Object
org.aoju.bus.sensitive.provider.AbstractProvider
org.aoju.bus.sensitive.strategy.BandCardStrategy
- All Implemented Interfaces:
StrategyProvider
银行卡号脱敏
只留前四位和后四位
6227 0383 3938 3938 393 脱敏结果: 6227 **** **** ***8 393
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aoju.bus.sensitive.provider.AbstractProvider
build, build
-
Constructor Details
-
BandCardStrategy
public BandCardStrategy()
-
-
Method Details
-
build
Description copied from interface:StrategyProvider脱敏- Parameters:
object- 原始内容context- 执行上下文- Returns:
- 脱敏后的字符串
-