Concepts / Security foundations

Security foundations

Tokenisation

Also called tokenization, token vault, data masking

Swapping a sensitive value for a random stand-in, the token. The real value stays in one guarded place, the vault, and every other system holds the token.

A token holds nothing of the value
A token holds nothing of the value

The vault keeps the only line that pairs the token with the number. Every other system stores the token, so a stolen copy gives away nothing, and the vault becomes the thing to guard.

Tokenisation swaps a sensitive value, such as a card number, for a token: a random stand-in that contains nothing of the original. The pair is kept in one guarded place, the vault; every other system stores the token. Unlike encryption, no key turns a token back, only the vault's own lookup, so a copied database of tokens gives away no values. The risk moves into the vault. Masking instead shows part of a value, ****6819. See [[data-states]].

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab