Difference between revisions of "ENCRYPT"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
==Class==
 
DES3 Encryption
 
 
 
 
==Purpose==
 
==Purpose==
 
Encrypt the specified table or tables
 
Encrypt the specified table or tables
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[APPEND FROM]], [[COPY FILE]], [[COPY STRUCTURE]], [[COPY TO]], [[DECRYPT]], [[DIR]], [[Encryption]], [[MERGE]], [[SET ENCRYPTION]], [[USE]]
+
[[APPEND FROM]], [[COPY FILE]], [[COPY STRUCTURE]], [[COPY TO]], [[DECRYPT]], [[DIR]], [[Encryption]], [[SET ENCRYPTION]], [[USE]]
  
  
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 09:15, 24 May 2010

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 Server, Recital