Under each segment there minimum value that can be treated for masking is 2.
We are looking for Digit by Digit or Character by character by character masking. Hence Segment mapping will not work.
Please see below example and please suggest how we can achieve it. (Please Note: There can be digits and character of data length range from 10 to 20 )
Nine digit value masked value should get masked as below. (Mapping of number at the last of this mail)
Scenario 1: Below masked value is based on Green table below as a fixed values to be replaced.
Masked value should
If we use segment mapping , I will have only 9 segments with min 2 / 3/ 4 length. So it cannot be used here.
If we use character mapping then how we can add mapping per digit as per last table in this mail?
How we can do the masking for this using existing Delphix default rule?
Fixed Mapping of fixed numbers for 0-9
Always mapped to
Hello Nandkumar,the logic you are proposing is extremely insecure and I would strictly advise not to attempt to do that.If the sensitive data gets "stolen" it would take only minutes to reverse back to original.In any audition such a logic would mean a failure.My suggestion to you is to use character mapping (CM) framework instead.A digit within a string gets replaced with a different digit, alpha with alpha etc. but the logic used behind the scene is not reversiblebut still deterministic and uniqueness preserving.Example input / output:123456 / 57350112345 / 62104123456 / 210313123-456 / 921-432123.456 / 430.219
To create a logic as described by you above you could implement it in Java using the Delphix masking extensible SDK.The SDK can be downloaded for free from our download site.Here is the documentation: https://maskingdocs.delphix.com/Authoring_Extensible_Plugins/Introduction/