EncryptionKey
Previous  Top  Next

Property EncryptionKey: integer;

By setting this property the binary network files gets encrypted during creation. Make sure to use same key both when calling function NWcreate and NWload (and AttributeCreate / AttributeLoad, LimitCreate / LimitLoad). If different keys are used for creation and loading, the loading will fail.

Only some of the binary files are encrypted - see list of files for details.

Having encryption enabled makes network creation and loading slower. This is an example from a large dataset (6 million records):

Seconds
NWcreateTAB
NWload
NWload w/ caching of coord3.bin
Normal
1298
22
38
With encryption
1536
89
130


If you choose to cache the content of coord3.bin file in memory, it will get unencrypted at load time. Otherwise it will get unencrypted piece by piece when needed: This will slow down some functions relying on it. See chapter file structure for a list of functions relying in coord3.bin.

In Free and Standard versions, you can not set the property and can therefore not open encrypted networks or create them.

Default value is 0 (not encrypted).

Versions: Pro
ActiveX / VCL / CLX component: RWnetBase