org.apache.shardingsphere.mask.spi.MaskAlgorithm
Data masking algorithm definition
Configuration Type | Description | Fully-qualified class name |
---|---|---|
MD5 | Data masking algorithm based on MD5 | org.apache.shardingsphere.mask.algorithm.hash.MD5MaskAlgorithm |
KEEP_FIRST_N_LAST_M | Keep first n last m data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.KeepFirstNLastMMaskAlgorithm |
KEEP_FROM_X_TO_Y | Keep from x to y data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.KeepFromXToYMaskAlgorithm |
MASK_FIRST_N_LAST_M | Mask first n last m data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MaskFirstNLastMMaskAlgorithm |
MASK_FROM_X_TO_Y | Mask from x to y data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MaskFromXToYMaskAlgorithm |
MASK_BEFORE_SPECIAL_CHARS | Mask before special chars data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MaskBeforeSpecialCharsAlgorithm |
MASK_AFTER_SPECIAL_CHARS | Mask after special chars data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MaskAfterSpecialCharsAlgorithm |
PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACE | Personal identity number random replace data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.PersonalIdentityNumberRandomReplaceAlgorithm |
MILITARY_IDENTITY_NUMBER_RANDOM_REPLACE | Military identity number random replace data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.MilitaryIdentityNumberRandomReplaceAlgorithm |
TELEPHONE_RANDOM_REPLACE | Telephone random replace data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.TelephoneRandomReplaceAlgorithm |
LANDLINE_NUMBER_RANDOM_REPLACE | Landline number random replace data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.LandlineNumberRandomAlgorithm |