Interface Cryptor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String decrypt​(java.lang.String encryptedKey)
      Decrypts the password.
      java.lang.String encrypt​(java.lang.String plainKey)
      Encrypt the plain text password.
    • Method Detail

      • encrypt

        java.lang.String encrypt​(java.lang.String plainKey)
                          throws java.lang.Exception
        Encrypt the plain text password.
        Parameters:
        plainKey - The password.
        Returns:
        The encrypted password String.
        Throws:
        java.lang.Exception - If an error occurs.
      • decrypt

        java.lang.String decrypt​(java.lang.String encryptedKey)
                          throws java.lang.Exception
        Decrypts the password.
        Parameters:
        encryptedKey - the encrypted password.
        Returns:
        The plain text password.
        Throws:
        java.lang.Exception - If an error occurs.