Overview
TAKAKRYPT Batch Transformation (TBT) provides high-performance data encryption with centralized key management. TBT supports encryption, tokenization, and data masking to quickly protect large volumes of existing data already stored in a database.
Unlike TAKAKRYPT File Encryption (which protects files and object storage) or the TAKAKRYPT Database Encryption Plugin (which protects a database going forward, through SQL functions called at query time), TBT is built for bulk transformation, run as a job, processing data that already exists in a database, column by column, according to the policy defined for each column.
Keys also work differently here than in TAKAKRYPT File Encryption: TBT sends each value to the TAKAKRYPT Gateway and gets the protected result back, so the encryption key itself never leaves the gateway. The TFE agent, by contrast, has the key exported to its host for local use. See TFE Architecture if you're comparing the two.
Why TBT?
- Protects existing data, not just new data: TBT is designed to secure data sets that already exist, rather than only protecting data written after the tool is deployed.
- Enables safer data sharing: data masking reduces the risk of exposing real values when a database is shared outside its original environment.
- No application changes required: transformation happens directly against the database, and key management is handled centrally by TAKAKRYPT Data Protection, so applications using the transformed database do not need to be modified.
- Per-column control: each column can independently be set to encrypt, tokenize, mask, or simply be kept unprotected.
How It Works
TBT follows four steps, from connecting to the source database to verifying the result:
| Step | What Happens |
|---|---|
| 1. Connect | Point TBT at the source database. No agent is installed on the application side |
| 2. Define policy | Choose a protection function per column: encrypt, tokenize, mask, or keep |
| 3. Transform | TBT reads the selected rows in bulk, sends each value to the TAKAKRYPT Gateway for transformation, then writes the result back |
| 4. Verify & rotate | Check the run results, then rotate keys when needed |
How a key rotation is carried out for a column protected by TBT isn't covered in this documentation yet. If you plan to rotate keys, check the workflow with the TAKAKRYPT team first.
See Installation and Usage for the full step-by-step walkthrough of this process.
Common Use Cases
TBT is used in two kinds of situations: protecting data before it is shared, and preparing an existing database.
Protected data before sharing
Data masking shows up most often in a few situations:
- Before sharing data with third parties.
- In databases shared with development, QA, R&D, or analytics teams.
- Before adding a data set to a big data environment.
- Ahead of extract, transform, and load (ETL) operations.
Prepare existing databases
TBT is also useful for preparing an existing database for encryption, tokenization, or data masking, or for rekeying an encrypted column of data.
Key Benefits
- Enables database sharing with reduced risk.
- Accelerates protection of existing data.
- Data masking where you need it: deploy on-premises, in the cloud, or as a hybrid deployment.
Technical Specifications
| Item | Specification |
|---|---|
| Version | 1.0.0 |
| Data transformation options | Tokenization, Data Encryption, Data Masking, with formatting that preserves alpha/numeric values |
| Policy options | A specific action can be set for each individual column: encrypt, decrypt, tokenize, detokenize, or key rotation |
| Key management | Key rotation without application changes; encryption can be applied without needing application changes; key management is handled through TAKAKRYPT |
| Key source | TAKAKRYPT Data Protection |
| Platform support | On-premises, private cloud, or public cloud |
Compliance
| Item | Description |
|---|---|
| UU PDP No. 27/2022 | Designed to support Indonesia's Personal Data Protection Law |
| Audit-ready logging | Run results and reports are kept per run, usable as evidence of what was processed |
| KMIP key standard | Supported platform-wide for integrating an external KMS. See the TAKAKRYPT File Encryption overview for the connection details. Since TBT's keys never leave the TAKAKRYPT Gateway, this applies to how the gateway itself sources its keys, not to anything configured on the TBT client |
Supported Databases
| Database | Supported versions |
|---|---|
| MariaDB | 12.1.2, 11.8.5, 11.4.9 |
| PostgreSQL | 18.1, 17.7, 16.11 |
| MS SQL | 2025, 2022, 2019 |
| Oracle | 23c (beta), 19c, 21c |
| MySQL | 8.4.3, 9.1.0, 9.0.1 |
| ClickHouse | Version 23.8 and up |
| SQLite | Supported, no specific versions listed |
See Supported Databases for notes on how TBT behaves with each database type.
Hardware and Operating System Requirements
| Item | Requirement |
|---|---|
| CPU | 4 cores (recommended) |
| RAM | 16 GB (recommended) |
| Operating system | Windows; Linux (Debian, CentOS, and Ubuntu) |
These CPU and RAM figures are a general recommendation for running large batch jobs comfortably. What TBT itself needs is lighter: Linux amd64 or arm64 and a regular user, with no root access. See Prerequisites.
Frequently Asked Questions
Will my applications need changes?
No. Transformation happens directly against the database, and applications keep reading and writing as usual.
Can I protect only some columns?
Yes. Policy is defined per column: encrypt, tokenize, mask, or keep.
Where do the keys come from?
From TAKAKRYPT Data Protection (the TAKAKRYPT Gateway), which manages the key lifecycle. TBT itself never stores any encryption key.
What hardware does it need?
A baseline of 4 cores and 16 GB RAM covers typical batch workloads. See Prerequisites for the minimal technical requirements to run TBT itself.
See Prerequisites to get started with installing and running TBT on a Linux server.