PN5_50468


Patch Number

Ticket Number

Change type

PN5_50468

NA

Enhancment

1. Description

Add support for encryption to type UD (directory) files.

To enable encryption use ENCRYPTED=TRUE, e.g.

CREATE-FILE DATA TESTONE TYPE=UD ENCRYPTED=TRUE

Once enabled all entries in the file will be encrypted. If accessed via jBASE (jQL, jBC, etc), the data will be decrypted automatically, however if viewed in external processes (vi, notepad, etc.), the data be encrypted.

The same options for hashed files can be used with type UD files as well, e.g.

ENCRYPTED=TRUE
ALGORITHM=<<algorithm>>
KEY=<<decrypt key>>

Supported encryption algorithms:

RC2, BASE64, DES, 3DES, BLOWFISH, AES

Encryption modes:

e.g.

Default: CREATE-FILE TEST ENCRYPTED=TRUE
Custom:  CREATE-FILE TEST TYPE=UD ENCRYPTED=TRUE ALGORITHM=BLOWFISH KEY=12344567889

1.1. Previous Behavior

1.2. Current Behavior