Skip to content
BENIBIX Learn

Pseudonymization

Data🔒 Data PrivacyPersonal Data

Also known as Pseudonymisation, Data Tokenization, Pseudonymous Data

Swapping names and emails for a code. The same person always gets the same code.

Think of it like

Each child in class gets a secret number. The teacher keeps the list of who is who.

Example

Analysts study what people buy by their code. They never see an email, but they can see that code 7f3a9c bought three times.

Why it matters

The data stays useful for study. If it leaks, far less harm is done.

Definition

Pseudonymization swaps the fields that name a person for a code, called a token or pseudonym. The same person always gets the same code, so you can still join and count them. The key that links codes back to names is kept apart, under tight control. With the key, the data can be traced back to the person. So in law it still counts as personal data.

Example code

sql
SELECT SHA2(email || 'secret-salt', 256) AS customer_token,
       country, order_total
FROM orders;
Each email becomes the same long code every time. Without the salt, nobody can turn it back.
This is the third row. Emma becomes a code, but the same code every time.

Common mistake

Calling it anonymous. With the key, or enough other fields, a person can be found again.

Key takeaways

  1. 1
    Code for a name. A token replaces direct identifiers.
  2. 2
    Stays joinable. Same person, same code.
  3. 3
    Key kept apart. So it is still personal data.

Compare