Package com.openstego.desktop.util.cmd
Class PasswordInput
java.lang.Object
com.openstego.desktop.util.cmd.PasswordInput
Utility class to handle console based password input
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
readPassword
(String prompt) Method to read password from the console
-
Method Details
-
readPassword
Method to read password from the console- Parameters:
prompt
- Prompt for the password input- Returns:
- The password as entered by the user
- Throws:
OpenStegoException
-