Skip to content
Architecture > Encryption

Center Tables

3forge supports encryption for persisted table data, including system tables. This section details how to create encrypted tables and adding decrypters to existing encrypted tables.

Creating an Encrypted User Table

To create an encrypted table with the default 3forge encrypter, add the following additional property to the USE PersistEngine="..." option:

persist_encrypter="default"

Example

CREATE PUBLIC TABLE MyTable(c1 Integer, c2 Short, c3 Long, c4 Double, c5 Character, c6 Boolean, c7 String) USE PersistEngine="FAST" persist_encrypter="default" RefreshPeriodMs="100"

where persist_encrypter is the name of the encrypter. This will encrypt the persisted data stored for that user table.

Note

We currently only support 3forge's default encrypter which is an AES encrypter. If you require a custom encrypter, please reach out to us at support@3forge.com.

Encrypting System Tables

To encrypt system tables, add either of the following lines to the local.properties file:

ami.db.persist.encrypter.system.tables=default

OR

ami.db.persist.encrypter.system.tables=[encryptername]

Where encryptername refers to name of the Java-based encrypter class used.

Note

The original unencrypted .dat persist files will not be deleted after encryption and will be appended with the .deleteme file suffix.

Adding Decrypters

To add decrypters, add the following option to the start.sh file (found in amione/scripts):

-Dproperty.f1.properties.decrypters=DECRYPTER_NAME=package.ClassName
  1. DECRYPTER_NAME: Name of decrypter.

  2. ClassName: Name of decrypter Java class.