DECRYPT

Decrypts the data in an EntitySet or relationship with fields.

Syntax

DECRYPT object

Parameters

object

The name of a previously encrypted entity set or a relationship with fields. A role name can be used.

Comments

Reverses an ENCRYPT command.

If the data in the specified EntitySet or relationship was not previously encrypted, the command raises an error.

The ENCRYPT and DECRYPT commands prevent users outside of an application session from reading sensitive data contained in disk files. Within Zim, encrypted data is automatically decrypted as the application programs work with it. All encryption and decryption in a particular database is based on a key established when you initiate a new database by executing the New Database (ZIMINIT) administrative utility.

Encrypted EntitySets and relationships are accessed in exactly the same way as unencrypted EntitySets or relationships. Internally, the software automatically decrypts data from an encrypted file as you work with that file. A slight performance penalty is paid for working with encrypted data.

 

Related Topics