Using hcrypt, the Harvest encryption utility, you can create the connector's key file. This utility encrypts and decrypts information.
Instructions for running hcrypt appear in context. This section provides additional details about the utility for your information.
The command syntax is:
hcrypt <OPTION> -f <Encrypted File> -i <Input File> -m <Message to Encrypt> -o <Output File> -k <Key File> -p <Encryption Key>
Options
-e = Encrypt the file
-d = Decrypt the file
-g = Generate a new key file (Requires the option -k followed by file name)
-h = Help
-v = Display version
-f = Final encrypted file
-i = Input file that needs to be encrypted
-m = One line message to encrypt
-o = File name to write the decrypted value. Works only with -d option (Optional)
-k = Encryption key file (Optional)
-p = Encryption key (Optional)
Rules
Examples:
hcrypt -e -f "Encrypted.enc" -i "Input File"
hcrypt -e -f "Encrypted.enc" -m "Hello World" -k "privatekey.key"
hcrypt -e -f "Encrypted.enc" -m "Hello World" -p "My Key"
hcrypt -d -f "Encrypted.enc"
Note: The decrypted message is printed back to the console.
Decrypt a file
hcrypt -d -f "Encrypted.enc" -o "Results.txt"
Note: The decrypted message is written to Results.txt.
hcrypt -g -k "NewKey.key"
hcrypt -d -f "Encrypted.enc" -m "Hello World" -p "My Key"
Copyright © 2014 CA.
All rights reserved.
|
|