Encryption Observer

Glossary Money and payments

How your PIN is protected

When you type your PIN, it is either checked by your card's own chip or encrypted by the keypad straight away. If your bank checks it online, it is passed between payment companies only inside secure hardware, where it is decrypted and re-encrypted with a new key at each step. No person or ordinary computer ever sees it.

Think of it like this

A sealed envelope passed between couriers, each of whom moves it into a new sealed envelope without ever being able to open it.

What happens when you tap your cardUses public-key cryptography a quantum computer could breakUses symmetric keys, which stay safeThe card check and the network links use public-key cryptography that needs replacing. The PIN, the one-time code and the bank's check run on symmetric keys that stay safe.
  1. Your card or phone
  2. 1Card check The terminal checks a chain of signatures to confirm the card is genuine. Today: RSA certificates Breakable in principle. EMVCo does not expect a threat to chip cards before 2040, if ever.
  3. 2PIN Your PIN is checked by the chip, or encrypted at the keypad and passed only between secure devices. Today: Triple DES or AES in HSMs Mostly safe. PINs sent to the bank use symmetric keys. A chip that checks the PIN itself may use RSA.
  4. 3One-time code The chip makes a cryptogram for this payment only, so copied details are useless. Today: Symmetric keys (Triple DES or AES) Safe. Visa recommends starting the move to AES before the end of 2030.
  5. 4Network links The payment travels between the shop's processor, the card network and your bank. Today: TLS and private networks Key exchange needs the same post-quantum upgrade as the web.
  6. 5Bank approval Your bank checks the cryptogram with its own copy of the key, inside a hardware security module. Today: Symmetric keys inside an HSM Safe, though loading keys into HSMs remotely often uses RSA, which needs replacing.
  7. Your bank

Why it matters

Because of this, a hacked shop till cannot simply collect customers' PINs.

Where you meet it

Card terminals, cash machines, and the HSMs behind every card network.

Go deeper history and technical detail

The PIN is formatted into a 'PIN block' under ISO 9564 and encrypted. Terminals commonly use DUKPT (ANSI X9.24), which derives a unique key for every transaction, so stealing one key reveals almost nothing. PIN blocks are 'translated' from one key to the next only inside payment HSMs. The symmetric ciphers used are not seriously threatened by quantum computers, but the public-key methods used to load keys into terminals are.

Related terms

Cite this page Encryption Observer, “How your PIN is protected”, encryption.observer/terms/pin-security/, checked December 2026.