Logo
Data Masking

MaskAlgorithm #

Fully-qualified class name #

org.apache.shardingsphere.mask.spi.MaskAlgorithm

Definition #

Data masking algorithm

Implementation classes #

Configuration TypeDescriptionFully-qualified class name
MD5Data masking algorithm based on MD5org.apache.shardingsphere.mask.algorithm.hash.MD5MaskAlgorithm
KEEP_FIRST_N_LAST_MKeep first n last m data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.KEEP_FIRST_N_LAST_M
KEEP_FROM_X_TO_YKeep from x to y data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.KEEP_FROM_X_TO_Y
MASK_FIRST_N_LAST_MMask first n last m data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MASK_FIRST_N_LAST_M
MASK_FROM_X_TO_YMask from x to y data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MASK_FROM_X_TO_Y
MASK_BEFORE_SPECIAL_CHARSMask before special chars data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MASK_BEFORE_SPECIAL_CHARS
MASK_AFTER_SPECIAL_CHARSMask after special chars data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MASK_AFTER_SPECIAL_CHARS
PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACEPersonal identity number random replacement data masking algorithmorg.apache.shardingsphere.mask.algorithm.replace.PERSONAL_IDENTITY_NUMBER_RANDOM_REPLACE
MILITARY_IDENTITY_NUMBER_RANDOM_REPLACEMilitary identity number random replacement data masking algorithmorg.apache.shardingsphere.mask.algorithm.replace.MILITARY_IDENTITY_NUMBER_RANDOM_REPLACE
TELEPHONE_RANDOM_REPLACETelephone number random replacement data masking algorithmorg.apache.shardingsphere.mask.algorithm.replace.TELEPHONE_RANDOM_REPLACE
LANDLINE_NUMBER_RANDOM_REPLACELandline number random replace data masking algorithmorg.apache.shardingsphere.mask.algorithm.replace.LANDLINE_NUMBER_RANDOM_REPLACE