Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
I need the ability to safely prompt for a passphrase, of arbitrary length, without echoing output. This is like the getpass(3C) does, but that truncates the input string and so calling that isn't good enough to address the real requirement. Not all applications of Java can assume that a GUI is available, so AWT's setEchoChar stuff is not usable for this problem.
|