Full masking of email address including delimiter

In this post under DataMask, I will show with example how to mask a email address including the delimiter. Below is the complete main class for your reference Example2 package core; import io.github.freewarelabs.datamask.core.DataFormatType; import io.github.freewarelabs.datamask.core.DataMaskManager; import io.github.freewarelabs.datamask.core.MaskInformationDTO; import io.github.freewarelabs.datamask.core.MaskType; import io.github.freewarelabs.datamask.core.exception.DataMaskException; public class Example2 { public static void main(String[] args) throws DataMaskException { MaskInformationDTO maskInformationDTO…… Continue reading Full masking of email address including delimiter

Full masking of simple text

In this post under DataMask, I will show with example how to mask a full text. Below is the complete main class for your reference Example1 package core; import io.github.freewarelabs.datamask.core.DataFormatType; import io.github.freewarelabs.datamask.core.DataMaskManager; import io.github.freewarelabs.datamask.core.MaskInformationDTO; import io.github.freewarelabs.datamask.core.MaskType; import io.github.freewarelabs.datamask.core.exception.DataMaskException; public class Example1 { public static void main(String[] args) throws DataMaskException { MaskInformationDTO maskInformationDTO = MaskInformationDTO.builder() .maskType(MaskType.FULL_MASKING)…… Continue reading Full masking of simple text