Dev Manual Data Masking Data Masking Copy Page Copy as Markdown View as Markdown MaskAlgorithm Fully-qualified class nameorg.apache.shardingsphere.mask.spi.MaskAlgorithm DefinitionData masking algorithm definition 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.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 GENERIC_TABLE_RANDOM_REPLACE Generic table random replace algorithm org.apache.shardingsphere.mask.algorithm.replace.GenericTableRandomReplaceAlgorithm EncryptionShadow DB