Encrypt a Password Using the Password Utility

Encrypt a Password Using the Password Utility
When you change a password, encrypt it before entering it in the agentparm.txt file. To encrypt a password, use the Password utility that is provided with the agent.
The agent handles FTP user IDs and passwords separately.
You can encrypt the password:
Interactively
Follow these steps:
  1. Change to the agent installation directory, and enter the following command at the command prompt:
    • On UNIX:
      ./password
    • On Windows:
      password.bat
    • On IBM i
      password
    • On HPE Integrity NonStop
      ./password
  2. You will be presented with a menu. Please select the encryption algorithm option to use.
  3. Enter your password at the password prompt.
  4. Re-enter your password for confirmation purposes.
From the Command Line
The syntax to invoke the utility is:
password [<key> | <cipher> <key> | -? | --help]
where <key> is the password to encrypt, and <cipher> is the Encryption Algorithm to use. The following options are supported: DES, AES-CTR-128,  AES-CTR-192, and AES-CTR-256.
You may also use -? or --help when invoking the password utility to display its usage.
*
Not all systems support 192 and 256 key sizes by default. Your Java JRE must be configured so that the appropriate Unlimited Jurisdiction Policy Files are available in your environment when using key sizes larger than 128.  An attempt to produce an encrypted password on a system that is not configured to do so will produce an error message such as Invalid Key Size. For more information, see Enable 256-bit Encryption.
When invoking the password utility with just the key as a command line parameter (for example, ./password secret) this implicitely will generate a DES encrypted password.