Sumukha1496 / maskdata

maskdata is a node.js module to mask various kinds of data
MIT License
93 stars 7 forks source link

Does maskdata use regular expressions during masking process? #41

Closed C3S4R5 closed 9 months ago

C3S4R5 commented 10 months ago

Thank you all for this grate work, I'm a little bit worry about the performance of masking several attributes on long JSONs, I have seen similar projects that use regular expressions in the replace/mask process, so, I would like to know if maskdata is using regular expressions.

Sumukha1496 commented 10 months ago

Hi @C3S4R5 , I will check and get back to you on the issue...

Sumukha1496 commented 9 months ago

Hi @C3S4R5, Sorry for the late reply. No this library doesn't make use of regex expect to validate the input UUID(Only in case of UUID masking). Since regex can affect the performance of the applications, I haven't used it.

C3S4R5 commented 9 months ago

Thanks