user969334
user969334

Reputation: 53

I want to make a concealed "password" in Java

In Java I want to make such that when I'm typing a String as input the letters of the string do not appear on the console screen. Is there anyway I can do that?

Upvotes: 1

Views: 192

Answers (1)

vanza
vanza

Reputation: 9903

Maybe Java 6's Console.readPassword()?

Upvotes: 12

Related Questions