Use this when replacing sensitive values with random tokens.
Tokenization
Tokenization replaces sensitive values, such as card numbers, with random tokens and keeps the mapping in a secured vault. Systems that only hold tokens fall out of scope for much of PCI DSS.
1. Tokenisation replaces sensitive values with tokens; the mapping is kept in a vault.
2. Reduces compliance scope (PCI).
3. Protect the vault.
4. Format-preserving tokens for legacy systems.
5. Restrict detokenisation.
sensitive value → token vault → token stored elsewhere
Context & applicabilityCommon mistakes · platform/version boundaries
- Token vault not protected as strictly as the original data.
- Tokens that reveal the original (e.g. weak format-preserving schemes on small value sets).
- Detokenisation API open to too many systems.
- Assuming tokenisation removes GDPR obligations — tokenised data is usually still personal data (pseudonymised).
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Mapping is stored in a secured vault.
- Systems with tokens only fall out of PCI scope.
- Tokens are not mathematically reversible.
- Token vault/service — mapping storage
- Systems storing tokens instead of real data — scope reduction
- Detokenisation access control — who can reverse
ReferenceWhy it matters1 section · depth on demand
Tokenization vs encryption
| Tokenization | Encryption | |
|---|---|---|
| Relation to original | Random, mapping in a vault | Mathematical, reversible with the key |
| Format | Can keep the format (16 digits) | Usually changes format |
| Scope reduction | Systems with tokens are out of PCI scope | Encrypted data may stay in scope |
The token vault itself becomes highly sensitive and must be strongly protected.
ReferenceImportant terms & boundaries2 sections · depth on demand
Types
| Type | Notes |
|---|---|
| Vaulted tokenisation | Random token, mapping stored in a secure vault |
| Vaultless | Derived with format-preserving encryption (FF1) |
| Format-preserving tokens | Keep length/format, e.g. last 4 digits of a card |
Tokenisation reduces PCI DSS scope because systems holding only tokens do not store card data.
In depth
Tokenisation replaces sensitive data with non-sensitive tokens that have no exploitable meaning; the mapping to the original value is kept in a secured token vault. Systems that only handle tokens are out of scope for many requirements, such as most of PCI DSS for card data.
| Tokenisation | Encryption | |
|---|---|---|
| Reversible | Only via the vault | With the key |
| Format | Can preserve format (e.g. card-like number) | Ciphertext (or format-preserving encryption) |
| Scope reduction | Strong — tokens are not sensitive data | Encrypted data often remains in scope |
| Performance | Vault lookup | Cryptographic operation |
Payment providers commonly tokenise cards so merchants never store card numbers. Protect the token vault as the most sensitive system in the design.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Data Security → Tokenization. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%