THE MARGIN / Security & Compliance

Tokenization vs encryption:
what actually protects
card data

"Bank-level encryption" is the phrase every payment vendor puts on a landing page, and it's not wrong -- it's just half the story. The other half, the one that decides whether a breach hands an attacker a working card number or a useless reference code, is tokenization. Here's what each one does, why they're not interchangeable, and which one actually shrinks your PCI DSS obligations.

12 min readโ€ขPublished August 2026โ€ขBy the MidPay desk

Quick answer

Encryption scrambles a card number into ciphertext that can be mathematically reversed with the right key -- the data still exists, protected. Tokenization replaces the card number with a token that has no mathematical relationship to the original value; the real number lives only in a separate, access-controlled vault. Under PCI DSS, systems that only touch encrypted PANs remain inside your cardholder data environment (CDE) and stay in full compliance scope. Systems that only touch tokens -- and can't reach the vault, the keys, or de-tokenization -- can fall entirely outside the CDE, which is why merchants who tokenize near the point of capture commonly move from the roughly 300-control SAQ D questionnaire down to the 13-control SAQ A. The two aren't rivals: card data is still encrypted in transit and briefly at rest before tokenization happens. Encryption protects data that exists; tokenization means the sensitive data mostly stops existing in your systems at all.

Two of the most common search queries hitting security-conscious merchant pages are variations on "bank-level encryption" and "3DS liability shift" -- proof that buyers are trying to evaluate a payment processor's security claims but rarely get a straight answer on what those claims actually mean. We covered the liability side in 3-D Secure: liability shift vs conversion cost and EMV liability shift. This post covers the data-protection side: what "encryption" and "tokenization" each really do to a card number, why a vendor claiming one doesn't mean they're doing the other, and why the distinction directly determines how much PCI DSS paperwork lands on your desk.

Encryption: the card number still exists, just scrambled

Encryption takes a primary account number (PAN) and runs it through a cryptographic algorithm -- in modern payment systems, almost always AES-256 -- using a secret key, producing ciphertext that's unreadable without that key. The PAN hasn't gone anywhere. It's fully recoverable by anyone who holds the decryption key, which is exactly the point: a payment processor, an issuer, or a merchant's own backend often needs the real number at some stage to route a transaction, settle a batch, or handle a refund. Encryption protects that number while it's in transit across a network (via TLS) or sitting at rest in a database, but the underlying value is preserved, not eliminated.

That preservation is precisely what keeps an encrypted system inside PCI DSS scope. The PCI Security Standards Council's own tokenization guidance is direct about this: encrypted cardholder data is still cardholder data, and any system that stores, processes, or transmits it -- even in encrypted form -- remains part of the cardholder data environment and subject to the full weight of applicable PCI DSS requirements, because the key that unlocks it exists somewhere, and wherever that key lives becomes a target.

Tokenization: the card number leaves your systems entirely

Tokenization takes a different approach: instead of transforming the PAN into a reversible ciphertext, it replaces the PAN with a token -- a surrogate value that, done correctly, has no mathematical relationship to the original number at all. The real PAN is stored once, in a highly access-controlled system called a token vault, and the token itself is what circulates through your point-of-sale, your CRM, your recurring-billing system, and your reporting dashboards. Because the token can't be reverse-engineered back into a card number without access to the vault, a system that only ever touches tokens never actually holds cardholder data in the PCI DSS sense.

That's the scope-reduction mechanism, and it's substantial in practice: per PCI SSC guidance, systems that store, process, or transmit only tokens -- and cannot access the vault, the encryption keys protecting it, or the de-tokenization process -- fall outside the cardholder data environment altogether. Merchants who tokenize early, ideally at or near the point of card capture, commonly move from a roughly 300-control Self-Assessment Questionnaire D down to a 13-control SAQ A, because nearly everything downstream of capture is now handling a value that simply isn't sensitive.

PCI DSS scope: encrypted PAN systems vs token-only systems Comparison showing SAQ D (roughly 300 controls) applies when systems handle encrypted cardholder data directly, while SAQ A (13 controls) applies when systems only handle tokens with no access to the vault or keys. PCI DSS scope: encrypted-PAN systems vs token-only systems Handles encrypted PAN directly Data still exists, reversible with the right key SAQ D ~300 controls to assess Full cardholder data environment scope Handles tokens only No vault/key access, no math back to PAN SAQ A 13 controls to assess Outside the cardholder data environment
Source: PCI Security Standards Council, "Information Supplement: PCI DSS Tokenization Guidelines." Scope reduction requires token-only systems to have no access to the token vault, the cryptographic keys protecting it, or any de-tokenization process. Actual questionnaire eligibility depends on your acquirer and validated implementation -- this illustrates the general scope-reduction principle, not a guaranteed classification for every merchant.

Encryption protects a number that still exists somewhere and can be unlocked. Tokenization means the number your systems actually touch was never real to begin with.

Gateway tokens vs network tokens: not the same thing

Most merchants have already encountered "tokenization" through their payment gateway or processor -- the gateway swaps the PAN for a token the moment it's captured, and that gateway-issued token is what gets stored for recurring billing or reporting. That's real tokenization and it delivers the scope-reduction benefit described above, but the token is typically portable only within that one gateway's ecosystem.

Network tokenization is a different, higher tier: the token is issued directly by the card network itself -- Visa's Visa Token Service, Mastercard's Secure Card on File (the service formerly known as MDES), or American Express's token service -- under the EMVCo Payment Tokenization Specification, and it's tied to the real card at the network level rather than at any single processor. Visa has issued more than ten billion network tokens as of 2024, up from roughly five billion in 2022, which gives a sense of how fast issuers and networks have pushed this model. Network tokens carry two concrete advantages a plain gateway token doesn't: automatic updates when the underlying card is reissued (no more failed renewals on stored subscriptions), and measurably higher approval rates, because the issuer can validate the token's cryptographic provenance before it even evaluates the sale. Visa has reported roughly a 4.6 percentage-point lift in authorization rates on card-not-present network-token transactions compared to raw PAN submissions, and Mastercard has reported a comparable, smaller lift near 2.1 points on its network.

PropertyEncryptionGateway tokenNetwork token
Original PAN recoverable?Yes, with the keyNo, not from the token aloneNo, not from the token alone
PCI DSS scope of token-only systemsStays in scopeCan fall outside CDECan fall outside CDE
Portable across processors?N/AUsually noYes -- issued by the network
Auto-updates on card reissue?NoNoYes
Authorization-rate lift on CNPNoneMinimal~2-5 points (network-reported)

Where each one actually sits in a transaction

In a typical card-not-present sale processed through MidPay's stack, the sequence looks roughly like this: the card number is encrypted in transit the instant it leaves the customer's browser or terminal (TLS), it's tokenized at or immediately after capture so the merchant's own systems never store the raw PAN, and the token -- not the number -- is what sits in the merchant's CRM or recurring-billing table going forward. If a network token is available for that card, later authorizations run on the network token instead of a raw or gateway-only token, picking up the approval-rate and auto-update benefits described above. At no point in that flow does "encryption" and "tokenization" compete for the same job; they cover different exposure windows -- encryption during transmission and any brief pre-tokenization storage, tokenization for everything that happens after.

This is also why "bank-level encryption" as a standalone marketing claim tells you less than it sounds like. AES-256 is table stakes; nearly every processor uses it, including ones with weak internal controls elsewhere. The question worth asking a processor isn't whether they encrypt data in transit -- assume they do -- it's whether your own systems ever touch a decrypted PAN or only ever touch a token, because that answer is what determines your actual breach exposure and your PCI DSS paperwork.

What a breach actually exposes, under each model

What merchants should actually check

  1. Ask your processor directly whether your own systems ever handle a decrypted PAN, or whether everything downstream of the initial swipe/tap/entry is a token. The answer determines your real PCI scope, not the marketing copy on their site.
  2. If you store cards on file for recurring billing, ask whether tokens are gateway-only or network tokens. Network tokens' auto-update behavior alone eliminates a recurring source of failed-renewal churn on subscriptions and memberships.
  3. Confirm your SAQ level with your acquirer rather than assuming tokenization automatically drops you to SAQ A -- eligibility depends on your specific implementation and how completely your systems are isolated from the vault and keys.
  4. Don't accept "bank-level encryption" as a complete answer to a security question. It's true of nearly every competent processor and says nothing about whether tokenization is also happening -- ask the tokenization question separately.
  5. If you operate both in-store and online, confirm both channels tokenize, not just the one that happened to get set up first; a POS terminal added years after the online checkout sometimes gets missed in a tokenization rollout.

Frequently asked questions

Does tokenization replace encryption?

No -- they run together, not instead of each other. Card data is still typically encrypted in transit (TLS) and often encrypted at rest during the brief moment before it's tokenized. Tokenization then replaces the primary account number itself with a token for storage and everyday use, so the systems handling that token never hold cardholder data that could be decrypted at all. Encryption protects data that still exists somewhere; tokenization means the sensitive data mostly doesn't exist in your environment in the first place.

Does tokenization reduce my PCI DSS scope?

Yes, substantially, when done correctly. Per PCI SSC guidance, systems that only store, process, or transmit tokens -- and cannot access the token vault, encryption keys, or de-tokenization process -- fall outside the cardholder data environment. Merchants who tokenize cardholder data before it enters their environment commonly move from SAQ D, which requires evaluation against roughly 300 controls, down to SAQ A, which covers 13 controls. Systems that still handle encrypted PANs directly remain in scope, because encrypted data is still cardholder data under PCI DSS.

What is network tokenization and how is it different from a payment gateway token?

A gateway or processor token is generated by your payment service provider and is typically only useful within that provider's system. A network token is issued directly by the card network -- Visa's Visa Token Service, Mastercard's Secure Card on File (formerly MDES), or American Express's token service -- under the EMVCo Payment Tokenization Specification, and it's tied to the real card at the network level. Network tokens carry real advantages: automatic updates when the underlying card is reissued, and measurably higher authorization rates because issuers can validate the token's provenance before approving the sale.

If a hacker steals my tokenized card data, can they reverse it back to a real card number?

Not from the token itself. A properly implemented token has no mathematical relationship to the original PAN -- it's a reference value that only resolves to the real card number inside the token vault, which is a separate, tightly access-controlled system. Reversing a token to a real PAN requires breaching the vault directly, not just the systems that store or transmit the token. That's the core security property tokenization offers that encryption alone does not: even a complete database dump of tokens is not, by itself, a card-number breach.

Key takeaways

  • Encryption scrambles a PAN reversibly with a key; the data still exists and remains cardholder data under PCI DSS wherever it's decryptable.
  • Tokenization replaces the PAN with a surrogate value with no mathematical path back to the original; only the token vault holds the real mapping.
  • Token-only systems can fall outside the PCI DSS cardholder data environment -- merchants commonly move from SAQ D (~300 controls) to SAQ A (13 controls) by tokenizing near capture.
  • Network tokens (Visa Token Service, Mastercard Secure Card on File, Amex token service) beat plain gateway tokens on two measurable fronts: auto-updates on card reissue, and a reported ~2-5 point lift in authorization rates.
  • "Bank-level encryption" alone answers only the in-transit question -- ask separately whether your own systems ever touch a decrypted PAN or only ever touch a token.

Sources & how to verify

The distinction between encryption (reversible, keeps data in scope) and tokenization (removes systems from the cardholder data environment when implemented correctly) is drawn from the PCI Security Standards Council's "Information Supplement: PCI DSS Tokenization Guidelines". The SAQ D-to-SAQ A scope-reduction pattern and the conditions for it (token-only systems without vault/key/de-tokenization access) reflect that same PCI SSC guidance as summarized in current compliance analyses; confirm your own SAQ eligibility directly with your acquirer, since it depends on your validated implementation. Network tokenization mechanics (Visa Token Service, Mastercard Secure Card on File formerly MDES, EMVCo Payment Tokenization Specification) are drawn from Visa's "A Deep Dive on Tokenized Transactions". Visa's ~4.6-point and Mastercard's ~2.1-point authorization-rate lift figures on card-not-present network-token transactions, and Visa's token-issuance volume (five billion in 2022, ten billion-plus by 2024), are as reported in industry analyses citing network disclosures; re-verify current figures directly with Visa/Mastercard investor or developer documentation before citing them in a compliance context, since network-reported lift percentages are updated periodically.

Ask us what your systems actually touch

Send us your current setup and we'll walk through whether your stack tokenizes at capture, whether network tokens are in play for cards on file, and what that means for your PCI questionnaire.

Talk to MidPay โ†’ Curious about your current fees too? See our fees guide.