data masking
Hiding real values by replacing parts of them, such as showing only the last four digits of a card number.
In more detail
Masking can be applied when data is shown to users or when a copy is made for testing. Masking and obfuscation protect data where it is displayed or copied for testing, but unlike encryption the hidden part usually cannot be recovered.
Examples
773022******4408Masking shows only the last four digits of a cardRelated terms
- tokenization — Replacing a sensitive value with a meaningless token and keeping the mapping in a separate, protected system.
- encryption — Scrambling data with a key so only someone holding the right key can read it.
- data classification — Labelling data by how sensitive it is, such as public, confidential or restricted, so the right controls are applied.
- truncation — Permanently removing part of a value, such as all but the first six and last four digits of a card number, so the full value cannot be recovered from what is kept.
- obfuscation — Making data or code hard to read without truly protecting it, for example by encoding it in Base64 or scrambling names in a program.
- PAN — The primary account number: the long number on a payment card that identifies the card account.
Taught in
- Enforcing OPA Guardrails on Terraform Plan Payloads — Cloud Security & DevSecOps Engineering
- Regulatory Compliance: SOC 2, HIPAA, GDPR & PCI-DSS — Cybersecurity Fundamentals, GRC & Cryptography
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography