PN5_50471


Patch Number

Ticket Number

Change type

PN5_50471

NA

Enhanchment

1. Description

Add extension to the CREATE-FILE command to enable file encryption.

Encryption arguments are as follows:

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

Supported file types:

HASH4 (j4), HASHP (jPlus), JP (jPlus), UD

Supported encryption algorithms:

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

Encryption modes:

Default: Use internal encryption:      ENCRYPTED=TRUE
Custom:  Use a defined method and key: ENCRYPTED=TRUE ALGORITHM=xxx KEY=yyy

e.g.

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

2. Previous Release Behavior

N/A

3. Current Release Behavior

You can opt to use the default encryption method and internal encryption key by not specifying any algorithm or key:

CREATE-FILE TEST ENCRYPTED=TRUE  1 1

Optionally specify your own encryption key:

CREATE-FILE TEST ENCRYPTED=TRUE ALGORITHM=BLOWFISH KEY=12344567889  1 1

If user specifies their own key, an encrypted version is stored in the ]K file, the above example will generate:

TEST
TEST]D
TEST]K