java.lang.Object
edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.morphString.Encrypt

@Deprecated public class Encrypt extends Object
Deprecated.
use edu.internet2.middleware.morphString.Encrypt instead!
from sh or bat file to encrypt a string
  • Constructor Details

    • Encrypt

      public Encrypt()
      Deprecated.
  • Method Details

    • main

      public static void main(String[] args)
      Deprecated.
      if an arg is dontMask, then it wont try the fancy masking stuff
      Parameters:
      args -
    • encryptInput

      public static void encryptInput(boolean dontMask)
      Deprecated.
      encrypt user input, perhaps dont mask
      Parameters:
      dontMask -
    • password

      public static final char[] password(InputStream in, String prompt) throws IOException
      Deprecated.
      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