Decrypt File and Save Decrypted Output to a String
Decrypt File and Save Decrypted Output to a String
Make sure pfEncryptor is started and you are on the main form.
See Decryption Definition Form for a description of the various fields on the form.
WARNING: Do not output the contents of a very large file to a decrypted string. This can cause Out of Memory errors that will cause pfEncryptor to fail.
In the Decrypt portion of the main form:
- Click Decrypt File to identify this as a file decryption.
- Select the type of encryption that was used to encrypt the data: 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 decryption.
- If you have a file containing the key and IV combination that was used to encrypt the data::
- Click Load Key/IV From File button.
- Select the folder and file containing the key that was used and press the Open button.
- If you know the key that was used to encrypt the data, you can type the key and IV directly to the Key and IV fields on the Decryption Definition Form.
- If the Key and IV are already displayed on Encryption Definition Form, you can click the Copy Key/IV From Above button to copy the information to the decryption form.
- (Optional) If you want to save a copy of the Key/IV values::
- 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 file to be decrypted.
- Click the Source Button to show a File Open Dialog.
- Select Save Decrypted Output to String option button to save output to a string.
- Leave the Decrypted Output text box empty.
- The decrypted text resulting from the Decrypt operation will be placed in this field..
- Click the Decrypt Button.
- The decrypted output will be displayed in the Decrypted Output field.
- (Optional) You can use the Output Button to show the decrypted data in a larger popup text box.
- (Optional) Click the Save button to save the Decryption Definition to a file.
- To use this saved Decryption Definition at some later time, use the Load button to open and load the saved definition to the Encrypt form.
- See Open Saved Decryption Definition for information rerunning a previously defined encryption.
- (Optional) Click the New button to clear the Decryption Definition Form and start a new definition.