In this post under DataMask, I will show with example how to do side masking of email address excluding masking of delimiter. So if the email address is “john.doe@gmail.com”, the output should be “**h*.***@gmail.com”. The delimiter “.” is excluded. Below is the complete main class Main class package core; import io.github.freewarelabs.datamask.core.DataFormatType; import io.github.freewarelabs.datamask.core.DataMaskManager; import io.github.freewarelabs.datamask.core.MaskInformationDTO;…… Continue reading Side masking of email address with configured delimiter
Category: DataMask
Middle masking of delimited text without configuring delimiter
In this post under DataMask, I will show with example how to do middle masking of delimited text including masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “111**********3-4444”. The delimiter “-” is also masked, it is not excluded. Below is the complete main class Main class package core; import io.github.freewarelabs.datamask.core.DataFormatType;…… Continue reading Middle masking of delimited text without configuring delimiter
Side masking of delimited text without configuring delimiter
In this post under DataMask, I will show with example how to do side masking of delimited text including masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “***1-2222-333******”. The delimiter “.” is also masked, it is not excluded. Below is the complete main class Main class package core; import io.github.freewarelabs.datamask.core.DataFormatType;…… Continue reading Side masking of delimited text without configuring delimiter
Full masking of email address with configured delimiter
In this post under DataMask, I will show with example how to do full masking of email address excluding delimiter. So if the text is “john.doe@gmail.com”, the output should be “****.***@gmail.com”. The delimiter “.” is not masked, it is excluded. Below is the complete main class Main class package core; import io.github.freewarelabs.datamask.core.DataFormatType; import io.github.freewarelabs.datamask.core.DataMaskManager; import…… Continue reading Full masking of email address with configured delimiter
Middle masking of email address without configuring delimiter
In this post under DataMask, I will show with example how to do middle masking of email address including delimiter. So if the text is “john.doe@gmail.com”, the output should be “jo****oe@gmail.com”. The delimiter “.” is also masked. Below is the complete main class Main class 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;…… Continue reading Middle masking of email address without configuring delimiter
Side masking of email address without configuring delimiter
In this post under DataMask, I will show with example how to do side masking of email address including masking of delimiter. So if the text is “john.doe@gmail.com”, the output should be “**hn****@gmail.com” Below is the complete main class Main class 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…… Continue reading Side masking of email address without configuring delimiter
Middle masking of delimited text with configured delimiter
In this post under DataMask, I will show with example how to do middle masking of a simple delimited text excluding masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “111*-****-**33-4444” As you can see from the output the numbers are masked in the middle excluding delimiters. Below is the complete…… Continue reading Middle masking of delimited text with configured delimiter
Side masking of delimited text with configured delimiter
In this post under DataMask, I will show with example how to do side masking of a simple delimited text excluding masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “***1-2222-33**-***” As you can see from the output the numbers are masked from the sides excluding delimiters. Below is the complete…… Continue reading Side masking of delimited text with configured delimiter
Full masking of delimited text without configuring delimiter
In this post under DataMask, I will show with example how to do full masking of a simple delimited text including masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “*******************” As you can see from the output the numbers and delimiter “-” are also masked. Below is the complete main…… Continue reading Full masking of delimited text without configuring delimiter
Full masking of delimited text with configured delimiter
In this post under DataMask, I will show with example how to do full masking a simple delimited text excluding masking of delimiter. So if the text is “1111-2222-3333-4444”, the output should be “—” As you can see from the output the numbers are masked but delimiter “-” is not masked. Below is the complete…… Continue reading Full masking of delimited text with configured delimiter