public class Encrypt extends Object
Constructor and Description |
---|
Encrypt() |
Modifier and Type | Method and Description |
---|---|
static void |
encryptInput(boolean dontMask)
encrypt user input, perhaps dont mask
|
static void |
main(String[] args)
if an arg is dontMask, then it wont try the fancy masking stuff
|
static char[] |
password(InputStream in,
String prompt) |
public static void main(String[] args)
args
- public static void encryptInput(boolean dontMask)
dontMask
- public static final char[] password(InputStream in, String prompt) throws IOException
in
- stream to be used (e.g. System.in)prompt
- The prompt to display to the user.IOException
Copyright © 2016 Internet2. All rights reserved.