Hop Encrypt

Hop Encrypt is a command line tool to encrypt (obfuscate) passwords for use in XML, password or Hop metadata files.

Usage

  1. hop-encrypt usage:
  2. encr <-hop|-server> <password>
  3. Options:
  4. -hop: generate an obfuscated or encrypted password
  5. -server : generate an obfuscated password to include in the hop-server password file 'pwd/hop.pwd'
  6. This command line tool obfuscates or encrypts a plain text password for use in XML, password or metadata files.
  7. Make sure to also copy the password encryption prefix to indicate the obfuscated nature of the password.
  8. Hop will then be able to make the distinction between regular plain text passwords and obfuscated ones.

Options

OptionDescription

<password>

The password to obfuscate

-hop

generate an obfuscated or encrypted password

-server

generate an obfuscated password to include in the hop-server password file ‘pwd/hop.pwd’

Examples

Hop Example

Encrypt (obfuscate) the password ‘abcd’ for use in Hop workflows, pipelines and other metadata files.

./hop-encrypt.sh -hop abcd

Output: Encrypted 2be98afc86aa7f2e4cb79ce10df90acde

Hop Server Example

Encrypt (obfuscate) the password ‘abcd’ for use in Hop server.

`./hop-encrypt.sh -hop abcd

Output: OBF:1s3g1s3i1s3k1s3m