Difference between revisions of "ENCRYPT"

From Recital Documentation Wiki
Jump to: navigation, search
Line 33: Line 33:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:DES3 Encryption]]
 +
[[Category:DES3 Encryption Commands]]

Revision as of 16:01, 1 June 2009

Class

DES3 Encryption


Purpose

Encrypt the specified table or tables


Syntax

ENCRYPT <.dbf> | <skeleton> KEY <expC1>


See Also

APPEND FROM, COPY FILE, COPY STRUCTURE, COPY TO, DECRYPT, DIR, Encryption, SET ENCRYPTION, USE


Description

The ENCRYPT command is used to encrypt the data in the specified table, <.dbf> or tables matching the <skeleton>. If the <skeleton> syntax is used, then all matching tables will be given the same encryption key. The <expC1> must contain a three part comma-separated key. The key may optionally be enclosed in angled brackets. Each part of the key can be a maximum of 8 characters. The key is DES3 encrypted and stored in a .dkf file with the same basename as the table. After encryption, the three parts of the key must be specified correctly before the table can be accessed.


Example

encrypt accounts key "key1,key2,key3"
encrypt salaries key "<key_1,key_2,key_3>"
 
// encrypt all .dbf files in the directory
encrypt *.dbf key "key1,key2,key3"


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer