# initIMOLTPCheckpointEncryption {#initoltpcheckpointencryption}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`initIMOLTPCheckpointEncryption(mode)`

## Arguments {#arguments}

**mode** is a STRING scalar specifying the encryption mode for IMOLTP tables. The default is no encryption \(plaintext mode\). Supported values \(case-insensitive\) include: plaintext, aes\_128\_ctr, aes\_128\_cbc, aes\_128\_ecb, aes\_192\_ctr, aes\_192\_cbc, aes\_192\_ecb, aes\_256\_ctr, aes\_256\_cbc, aes\_256\_ecb, sm4\_128\_cbc, sm4\_128\_ecb.

## Details {#details}

\[Linux Only\] This function initializes the transparent data encryption for IMOLTP tables. It applies global encryption to all tables within the checkpoint.

**Note:**Once initialized, the encryption mode for the tables cannot be changed or disabled. Please proceed with caution.

## Examples {#examples}

``` {#codeblock_lhr_yks_c2c}
initIMOLTPCheckpointEncryption(`aes_128_ctr)
```

