How to mask input data with "*"?