How to Create a Mask for SNN or National Identity Card ?

Hello, I have a situation to register users on the portal, in "include a new employee", in a certain field we have the option "CPF", which would be a national identification document of a citizen, equivalent to the SNN or Carteira Nacional de American identity, I would like to create a mask to hide this data after filling this field.