Class Encrypt
java.lang.Object
edu.internet2.middleware.morphString.Encrypt
from sh or bat file to encrypt a string
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
encryptInput
(boolean dontMask) encrypt user input, perhaps dont maskstatic void
if an arg is dontMask, then it wont try the fancy masking stuffstatic final char[]
password
(InputStream in, String prompt)
-
Constructor Details
-
Encrypt
public Encrypt()
-
-
Method Details
-
main
if an arg is dontMask, then it wont try the fancy masking stuff- Parameters:
args
-
-
encryptInput
public static void encryptInput(boolean dontMask) encrypt user input, perhaps dont mask- Parameters:
dontMask
-
-
password
- Parameters:
in
- stream to be used (e.g. System.in)prompt
- The prompt to display to the user.- Returns:
- The password as entered by the user.
- Throws:
IOException
-