> For the complete documentation index, see [llms.txt](https://docs.onum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onum.com/pipelines/actions/transformation/field-transformation/field-transformation-operations/utils/credit-card-obfuscator.md).

# Credit card obfuscator

## Description

This operation obfuscates all digits of a credit card number except for the last 4 digits.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

`String` - The input strings to be obfuscated.

### Output data

`String` - Resulting credit card numbers with the digits obfuscated.

***

## Example

Suppose you want to **obfuscate** a series of credit card numbers in your input strings:

1. In your Pipeline, open the required [Action](/pipelines/actions.md) configuration and select the input **Field**.
2. In the **Operation** field, choose **Credit card obfuscator**.
3. Give your **Output field** a name and click **Save**. The credit card numbers in your input field will be obfuscated. For example:

```
Input data - "1111222233334444"

Output data - "************4444"
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}
