Encrypt String and Save Encrypted Output to a File
Encrypt String and Save Encrypted Output to a File
Make sure pfEncryptor is started and you are on the main form.
See Encryption Definition Form for a description of the various fields on the form.
In the Encrypt portion of the main form:
- Click Encrypt String to identify this as a string encryption.
- Select the type of encryption to use: AES or TDES or DES.
- See Encryption Algorithms for a description of the encryption standards used by this application.
- Specify the Key and IV to use for this encryption.
- If you have some previously saved key and IV combination that you wish to use:
- Click Load Key/IV From File button.
- Select the folder and file containing the key you wish to use and press the Open button.
- If you want to generate a new random key, click the Generate Random Key/IV button.
- You will see strings of random characters in the Key and IV fields.
- If you know the key you wish to use, you can type the key and IV directly to the Key and IV fields on the Encryption Definition Form.
- (Optional) If you are using a new key you plan to use in the future for other encryptions:
- Click the Save Key/IV To File button.
- Specify the folder and file name using the Save File Dialog that shows.
- Click the Save button.
- Specify the string to be encrypted.
- Type the string into the Unencrypted Source text box.
- Click the Source Button for an easier to use popup text box for inputting the text to be encrypted.
- Select Save Encrypted Output to File option button to save output to a file.
- Check the Binary Encryption check box if you want the encryption output to be in binary format.
- Leave this option unchecked for Base64 text output.
- See Choosing Binary or Base64 for Encryption Output for more information on which encryption output formats to select..
- Specify the full path for the output file.
- Use the Output Button to display a File Save Dialog.
- Click the Encrypt Button.
- The output file path will be visible in the Encrypted Output text box.
- (Optional) Click the Save button to save the Encryption Definition to a file.
- To use this saved Encryption Definition at some later time, use the Load button to open and load the saved definition to the Encrypt form.
- See Open Saved Encryption Definition for information rerunning a previously defined encryption.
- (Optional) Click the New button to clear the Encryption Definition Form and start a new definition.