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.
A sealed envelope passed between couriers, each of whom moves it into a new sealed envelope without ever being able to open it.
Why it matters
Because of this, a hacked shop till cannot simply collect customers' PINs.
In plain words
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.
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.
More diagrams: What happens when you tap your card
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.