Package com.openstego.desktop.util.cmd
Class PasswordInput
- java.lang.Object
-
- com.openstego.desktop.util.cmd.PasswordInput
-
public class PasswordInput extends Object
Utility class to handle console based password input
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
readPassword(String prompt)
Method to read password from the console
-
-
-
Method Detail
-
readPassword
public static String readPassword(String prompt) throws OpenStegoException
Method to read password from the console- Parameters:
prompt
- Prompt for the password input- Returns:
- The password as entered by the user
- Throws:
OpenStegoException
- Processing issue
-
-