Hello Subhrajit,
No it wont do it, Please refer below link and check my comments.
In simple language, Masking will help to replace the value with any digit where you kept ++ sign.
Say for example, Please note all the number are keep changing and system will accept the same without error, Incase we do masking.
1241234
1240123
1840982