Difference between revisions of "DECRYPT"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Decrypt the specified table or tables
 
Decrypt the specified table or tables
Line 30: Line 28:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 15:41, 10 November 2009

Purpose

Decrypt the specified table or tables


Syntax

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


See Also

APPEND FROM, COPY FILE, COPY STRUCTURE, COPY TO, DIR, ENCRYPT, MERGE, SET ENCRYPTION, USE


Description

The DECRYPT command is used to decrypt the data in the specified table, <.dbf> or tables matching the <skeleton>. The <expC1> must contain the three part comma-separated key used to previously encrypt the table. The key may optionally be enclosed in angled brackets. The <skeleton> syntax can only be used if all tables matching the <skeleton> have the same key.

The DECRYPT command decrypts the data and removes the table's .dkf file. After decryption, the key need no longer be specified to gain access to the table.


Example

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


Products

Recital Server, Recital