MaskAlgorithm

Fully-qualified class name

org.apache.shardingsphere.mask.spi.MaskAlgorithm

Definition

Data masking algorithm definition

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.KeepFirstNLastMMaskAlgorithm
KEEP_FROM_X_TO_YKeep from x to y data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.KeepFromXToYMaskAlgorithm
MASK_FIRST_N_LAST_MMask first n last m data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MaskFirstNLastMMaskAlgorithm
MASK_FROM_X_TO_YMask from x to y data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MaskFromXToYMaskAlgorithm
MASK_BEFORE_SPECIAL_CHARSMask before special chars data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MaskBeforeSpecialCharsAlgorithm
MASK_AFTER_SPECIAL_CHARSMask after special chars data masking algorithmorg.apache.shardingsphere.mask.algorithm.cover.MaskAfterSpecialCharsAlgorithm
GENERIC_TABLE_RANDOM_REPLACEGeneric table random replace algorithmorg.apache.shardingsphere.mask.algorithm.replace.GenericTableRandomReplaceAlgorithm