MaskAlgorithm

全限定类名

org.apache.shardingsphere.mask.spi.MaskAlgorithm

定义

数据脱敏算法

已知实现

配置标识详细说明全限定类名
MD5基于 MD5 的数据脱敏算法org.apache.shardingsphere.mask.algorithm.hash.MD5MaskAlgorithm
KEEP_FIRST_N_LAST_M保留前 n 后 m 数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.KeepFirstNLastMMaskAlgorithm
KEEP_FROM_X_TO_Y保留自 x 至 y 数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.KeepFromXToYMaskAlgorithm
MASK_FIRST_N_LAST_M遮盖前 n 后 m 数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.MaskFirstNLastMMaskAlgorithm
MASK_FROM_X_TO_Y遮盖自 x 至 y 数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.MaskFromXToYMaskAlgorithm
MASK_BEFORE_SPECIAL_CHARS特殊字符前遮盖数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.MaskBeforeSpecialCharsAlgorithm
MASK_AFTER_SPECIAL_CHARS特殊字符后遮盖数据脱敏算法org.apache.shardingsphere.mask.algorithm.cover.MaskAfterSpecialCharsAlgorithm
PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACE身份证号随机替换数据脱敏算法org.apache.shardingsphere.mask.algorithm.replace.PersonalIdentityNumberRandomReplaceAlgorithm
MILITARY_IDENTITY_NUMBER_RANDOM_REPLACE军官证随机替换数据脱敏算法org.apache.shardingsphere.mask.algorithm.replace.MilitaryIdentityNumberRandomReplaceAlgorithm
TELEPHONE_RANDOM_REPLACE⼿机号随机替换数据脱敏算法org.apache.shardingsphere.mask.algorithm.replace.TelephoneRandomReplaceAlgorithm
LANDLINE_NUMBER_RANDOM_REPLACE座机号码随机替换org.apache.shardingsphere.mask.algorithm.replace.LandlineNumberRandomAlgorithm
GENERIC_TABLE_RANDOM_REPLACE通⽤表格随机替换org.apache.shardingsphere.mask.algorithm.replace.GenericTableRandomReplaceAlgorithm
UNIFIED_CREDIT_CODE_RANDOM_REPLACE统⼀信⽤码随机替换org.apache.shardingsphere.mask.algorithm.replace.UnifiedCreditCodeRandomReplaceAlgorithm