613-518-1166 info@zimdatabases.com

ZIM Language Reference

ENCRYPT

< All Topics

Encrypts the data in an EntitySet or relationship with fields.

Syntax

ENCRYPT object

Parameters

object The name of an EntitySet or a relationship with fields. Can be a role name.

Comments

The ENCRYPT command makes stored data meaningless to anyone scanning a raw database file on disk, thereby protecting the data from unauthorized access. The encryption key is established when the New Database utility is executed.

If the data in the specified object has already been encrypted, reissuing 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. All encryption and decryption in a particular database is based on a key established when you initiate a new database .

Encrypted EntitySets and relationships are accessed in exactly the same way as un-encrypted 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.

An encrypted object can be returned to normal with a DECRYPT command.

See Also

DECRYPT

Securing Data Inside an Application

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents