# Redaction Methodologies

Teleskope offers granular controls for redacting sensitive information, enabling the safe and efficient anonymization of datasets for consumption.

### Replace your sensitive data with:

**Entity Type**: Replaces identified sensitive data with its corresponding entity label.

**Entity Type Incremented**: Replaces sensitive data with its corresponding entity, appended by an incrementing ID with a given payload. If an entity is repeated, it retains the same replacement value.

**Empty Strings**: Removes sensitive data and replaces it with an empty string.

**Masking Characters**: Replaces sensitive data with configured characters. In Masking, Teleskope also allows users to replace portions of sensitive data, using specified characters, while ignoring other specified characters.

**Deterministic Encryption (with Referential Integrity)**: Encrypts data using AES-SIV with a cryptographic key, and replaces the original value with a base64-encoded representation of the encrypted value. This enables the ability to revert encrypted data to its original state. This generates identical tokens for each instance of an identical input value.

**Synthetic Data**: Replaces sensitive data with mocked data of a corresponding length. This method optionally allows for referential integrity, enabling the ability to revert this data to its original values.

<br>

#### The following contain examples of each redaction method:

| Redaction Method         | Before                    | After                                                                               |
| ------------------------ | ------------------------- | ----------------------------------------------------------------------------------- |
| Entity Type              | "Hi, my name is John Doe" | "Hi, my name is FIRST\_NAME LAST\_NAME."                                            |
| Entity Type Incremented  | "Hi, my name is John Doe" | "Hi, my name is FIRST\_NAME\_1 LAST\_NAME\_1."                                      |
| Empty Strings            | "Hi, my name is John Doe" | "Hi, my name is ."                                                                  |
| Masking Characters       | "Hi, my name is John Doe" | "Hi, my name is \*\*\*\* \*\*\*."                                                   |
| Deterministic Encryption | "Hi, my name is John Doe" | “Hi, my name is FIRST\_NAME(13):AT1OQpkW7qhzx LAST\_NAME(20):A123k;j123B+e94xSYnK.” |
| Synthetic Data           | "Hi, my name is John Doe" | “Hi, my name is Finn Qou”                                                           |

<br>
