Data Encryption function


The Data Encryption function simplifies the process of encrypting and decrypting a data file. File-AID/Data Solutions uses encryption/decryption exits to define and process both Data Solutions-defined and user-defined encryption routines. Simply choose a routine for a particular field from Data Solution’s list of Available Encryption/Decryption Exits. With the use of selection criteria, you can assign an encryption routine to a field based on the data in that field or on the data in another field in the record.

The Key Encrypt/Decrypt Exits (ENCRYPT, ENCRYPTC and ENCRYPTN) are Data Solutions-defined encryption exits. See Key Encrypt/Decrypt Exits for more information on Key Encrypt/Decrypt Exits.ENCRYPTC is the same as the ENCRYPT exit, except that it treats a display numeric data field, with a length of 18 bytes or less, as if the field was defined as a character field. This means that binary and packed fields need a field mask in order to be processed as display numeric data. Also, a field mask should be put on signed display numeric fields.

ENCRYPTN is the same as the ENCRYPT exit, except that it treats a character field that is entirely numbers and has a length of 18 bytes or less, as if the field was defined as numeric.

Besides the Key Encrypt/Decrypt Exits, two sample encryption/decryption routines are provided with Data Solutions. You can use one of the sample encryption/decryption routines or create your own routine. For information on creating your own encryption/decryption routine and adding it to the Available Encryption/Decryption Exits list, see Creating Your Own Encryption/Decryption Exits.

The Data Encryption function can be accessed by selecting Option 7 (Data Encryption) from the Primary Option Menu.

Input and Output Specifications

The input and output options are the same for each Data Solutions function. See Input Specification and Output Specification for a sample and field descriptions for these screens. In addition, the Criteria Menu is displayed within each Data Solutions function. See Criteria Menu for a description of the Criteria Menu.

This section provides information about the following topics:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*