Difference between revisions of "ENCRYPT"

From Recital Documentation Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[APPEND FROM]], [[COPY FILE]], [[COPY STRUCTURE]], [[COPY TO]], [[DECRYPT]], [[DIR]], [[Encryption]], [[SET ENCRYPTION]], [[USE]]
+
[[APPEND FROM]], [[COPY FILE]], [[COPY STRUCTURE]], [[COPY TO]], [[DECRYPT]], [[DIR]], [[Encryption]], [[MERGE]], [[SET ENCRYPTION]], [[USE]]
  
  

Revision as of 11:21, 23 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, MERGE, 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