set_visibility() , when set to false, provides a means of hiding sensitive input information on screen. It replaces each character with a star.
This function is mainly used for password entry.