edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.morphString
Class Encrypt
java.lang.Object
edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.morphString.Encrypt
public class Encrypt
- extends Object
from sh or bat file to encrypt a string
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Encrypt
public Encrypt()
main
public static void main(String[] args)
- 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
public static final char[] password(InputStream in,
String prompt)
throws IOException
- 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
Copyright © 2010 Internet2. All Rights Reserved.