MaskAlgorithm #
Fully-qualified class name #
org.apache.shardingsphere.mask.spi.MaskAlgorithm
Definition #
Data masking algorithm
Implementation classes #
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.KEEP_FIRST_N_LAST_M |
KEEP_FROM_X_TO_Y | Keep from x to y data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.KEEP_FROM_X_TO_Y |
MASK_FIRST_N_LAST_M | Mask first n last m data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MASK_FIRST_N_LAST_M |
MASK_FROM_X_TO_Y | Mask from x to y data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MASK_FROM_X_TO_Y |
MASK_BEFORE_SPECIAL_CHARS | Mask before special chars data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MASK_BEFORE_SPECIAL_CHARS |
MASK_AFTER_SPECIAL_CHARS | Mask after special chars data masking algorithm | org.apache.shardingsphere.mask.algorithm.cover.MASK_AFTER_SPECIAL_CHARS |
PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACE | Personal identity number random replacement data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACE |
MILITARY_IDENTITY_NUMBER_RANDOM_REPLACE | Military identity number random replacement data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.MILITARY_IDENTITY_NUMBER_RANDOM_REPLACE |
TELEPHONE_RANDOM_REPLACE | Telephone number random replacement data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.TELEPHONE_RANDOM_REPLACE |
LANDLINE_NUMBER_RANDOM_REPLACE | Landline number random replace data masking algorithm | org.apache.shardingsphere.mask.algorithm.replace.LANDLINE_NUMBER_RANDOM_REPLACE |