How to present asterisk symbol when entering a password?

I have a text field which is for Password.
I want to show asterisk symbols when entering a password.

  Discussion posts and replies are publicly visible