java.lang.Object
edu.internet2.middleware.morphString.Morph

public class Morph extends Object
  • Field Details

    • ENCRYPT_KEY

      public static final String ENCRYPT_KEY
      See Also:
    • testMorphKey

      public static String testMorphKey
      if testing, and not relying on morph key being there, use this
  • Method Details

    • main

      public static void main(String[] args)
    • encrypt

      public static String encrypt(String in)
      Parameters:
      in - $objectType$
      Returns:
      String
    • decrypt

      public static String decrypt(String in)
      This will decrypt a string from an external file if a slash is there. Otherwise it will just return the input since it is just what is being looked for
      Parameters:
      in - $objectType$
      Returns:
      String
    • decryptIfFile

      public static String decryptIfFile(String in)
      This will decrypt a string from an external file if a slash is there. Otherwise it will just return the input since it is just what is being looked for
      Parameters:
      in - $objectType$
      Returns:
      String
    • key

      public static String key()
      Returns:
      the key to encrypt/decrypt