Skip to content
  1. Home
  2. Technology

Card, PIN, phone or QR: access control credentials compared

· 6 min read

What a card, a PIN, a phone and a QR code prove at the door, what NXP, Apple, the CSA and the IEC document about them, and the mistakes made on site.

Hand holding a smartphone up to an access reader on a concrete wall
Photo: Jakub Żerdzicki / Unsplash (Unsplash License)

In brief

A reader at a door can check what you carry, what you know, or both. Among cards, a MIFARE Classic-compatible chip has been shown to give up its keys after a few minutes of access, while DESFire EV3 is certified Common Criteria EAL5+ with 128-bit AES, if the installer chooses it. A 4-digit PIN has 10,000 combinations, and a shared one names a code, not a person. Phones add Apple Wallet badges, and the Aliro 1.0 standard has existed since 26 February 2026. A QR code is only an image.

Key points

  • DESFire EV3 is certified Common Criteria EAL5+ and supports 128-bit AES, but the same card can also be set up with single DES.
  • A MIFARE Classic 1K card holds 32 secret keys in 16 sectors, all used with the CRYPTO1 cipher.
  • A 4-digit PIN has 10,000 combinations; three random tries get it right 0.03% of the time.
  • Aliro 1.0, released on 26 February 2026, covers NFC, Bluetooth LE and Bluetooth LE with UWB for phones and wearables.
  • The largest QR symbol is 177 x 177 modules and holds up to 2,953 bytes (ISO/IEC 18004).
In this article8 sections

A door reader can check something you carry, something you know, or both. Cards, PINs, phones and QR codes sit at different points on that line, and the label on the credential says little about how well it resists copying. The chip, the key setup and who holds the credential say much more.

This is a comparison of the four, built on the manufacturer data sheets, one 2024 security paper, the standards bodies and Apple’s own pages. It does not cover fingerprints and faces, which raise a different set of problems (biometrics at work in the UK is one example). We found no open primary source on 125 kHz proximity cards or on the Wiegand wire format, so they are left out rather than described from memory.

What each one proves at the reader

Credential What the reader checks What the sources say
Card, MIFARE Classic type A key in the card, using the CRYPTO1 cipher NXP data sheet confirms CRYPTO1; a 2024 paper reports a backdoor in a compatible chip
Card, DESFire EV3 Mutual authentication, AES-128 if configured Common Criteria EAL5+, encrypted radio channel, relay protection
PIN That the person knows a number 10,000 combinations at 4 digits; a shared one does not say who
Phone or watch A credential in the device, with or without unlock depending on Express Mode Apple Wallet badges, Aliro 1.0
QR code That the image matches a code the server expects A container; the symbol says nothing on authentication

Cards: look at the chip, not the plastic

A MIFARE Classic EV1 1K card, per NXP’s data sheet, has 1 kB of memory in 16 sectors, and each sector has its own set of two keys. That makes 32 keys on one card, used with the CRYPTO1 cipher. The sheet says the card is used in applications like public transport ticketing. It dates from May 2018.

In 2024 Philippe Teuwen of Quarkslab described a hardware backdoor in the FM11RF08S, a Classic-compatible chip released in 2020 and designed to resist the card-only attacks already known. Anyone who knows the backdoor can compromise all user-defined keys by accessing a card for a few minutes. Older cards carry another backdoor key shared by several manufacturers. The summary does not say how many keys or how long exactly, and it concerns compatible chips, so do not read it as a statement about every Classic card. It does show where the family stands.

DESFire EV3 is the other end. NXP’s sheet (January 2024) gives Common Criteria EAL5+ on hardware and software. It lists hardware AES with 128-bit keys, mutual three-pass authentication, an 8-byte CMAC on data, encryption on the radio channel, one card master key and up to 14 keys per application. Proximity Check, which the sheet presents as protection against relay attacks, arrived with EV2.

One line in the sheet matters on site. EV1, EV2 and EV3 all support DES, 2K3DES, 3K3DES and AES128, and each application has its own keys. A DESFire card is not secure by being a DESFire card. Someone chooses the algorithm when the card is personalised.

Ask for AES. NXP’s EV3 page lists a backward compatibility mode to EV2, EV1 and D40: we see no reason to use it on a new system.

PINs

A 4-digit code has 10,000 combinations, a 6-digit code 1,000,000. Three random tries on four digits succeed 3 times in 10,000, or 0.03%. Without a lockout, a keypad that accepts one try a second would run through all 10,000 in about two hours and 47 minutes. Our own arithmetic, with one input from the field: whether the keypad locks after a few wrong tries.

The bigger weakness is human. A shared code is known by everyone who was told, and the log can only say that code 4821 opened the door at 07:52. IEC 60839-11-1, the access control system standard, includes requirements for logging and identification, so a log that cannot name a person is worth checking against the requirements you promised the client.

Phones and watches

Apple Wallet carries corporate badges, hotel keys, student cards and home keys. For a badge, Apple’s support page lists an iPhone 6s or later or an Apple Watch Series 3 or later, an employer that takes part and the employer’s app. Express Mode is on by default, so holding the device to the reader is enough. Turn it off and the user must open the badge and authenticate. Marking a device as lost turns off Wallet access and removes the badge for the time being.

That page says nothing on a flat battery, but Apple’s platform security guide says a corporate badge keeps working after the iPhone runs out of battery.

Test it on your own readers before you promise anything.

Aliro 1.0, released by the Connectivity Standards Alliance on 26 February 2026, defines how readers and phones talk. NFC covers the tap. Bluetooth LE reaches farther, on the user’s initiative. Bluetooth LE with UWB allows hands-free authentication. The security model rests on asymmetric cryptography. Apple, Google and Samsung have committed to supporting it in their wallets, and a certification programme runs through authorised test labs. More than 220 companies are members. We did not read the specification, and the announcement does not say which readers support it today.

QR codes

ISO/IEC 18004, approved as an ISO standard in 2000, defines the QR symbol: up to 177 x 177 modules, with up to 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes, and error correction from about 7% to about 30%. That is a container.

Nothing in what we read describes authentication.

The rest is our reading, not a quote. A fixed QR code can be photographed and shown again. Everything depends on the server behind the reader: how long a code lives, whether it works once, whether it is tied to a person or a visit. For visitors and deliveries that can be exactly right. For staff doors it needs more than a printed image.

The wire between reader and controller

The credential is only half of the chain. IEC 60839-11-5:2020 puts the OSDP protocol, the commands and replies between the control unit and its peripherals, in an international standard. The IEC page says nothing about encryption, so check the product documentation for the reader and controller you actually buy.

Mistakes worth looking for

These come from reading the data sheets, not from a survey of installations.

Reading only the card’s serial number is the first. The serial is written by the manufacturer, and a system that trusts it is not using any key in the card. DESFire offers a random ID option for privacy, and in that mode a system keyed on serials will typically stop recognising the card.

Setting DES keys on DESFire cards because the old reader only knows DES is the second. Mixing a keypad with a card and then logging only the card is the third.

What to do

On a new system, write the credential into the specification: chip family, algorithm, key policy, and who holds the keys. Ask the manufacturer for the data sheet of each reader and card. For phones, ask the client’s IT team before the supplier. On an existing Classic system, count the doors and plan the move to AES cards by risk. The same reasoning applies to the readers’ network side, covered in security of cameras, NVRs and access control.

Frequently asked questions

Which is more secure at a door, a card or a PIN?

Neither wins by type. A DESFire EV3 card with AES keys uses mutual authentication and encryption on the radio channel. A Classic-compatible chip has been shown to give up its keys. A 4-digit PIN has 10,000 combinations, and a shared one is known by several people. What counts is the chip, the key setup and who holds the credential.

Is MIFARE Classic still safe to use for access control?

NXP’s data sheet shows it uses the CRYPTO1 cipher, and a 2024 paper describes a hardware backdoor in a Classic-compatible chip that lets whoever knows it recover all user-defined keys after a few minutes of access to the card. We would not start a new system on it. For existing ones, plan the move to AES cards.

Can a phone replace the access card?

Yes, where the building and the reader support it. Apple Wallet holds corporate badges with Express Mode, which works without opening Wallet, and Aliro 1.0 defines NFC, Bluetooth LE and UWB access for phones and wearables. The employer or building must take part, so check the reader first.

Is a QR code a secure credential?

A QR code is a data container defined by ISO/IEC 18004. The standard describes the symbol, and nothing we read describes authentication. Anyone who sees or photographs a fixed code can show it again. Protection has to come from the system that validates it, for example by making the code short-lived or tied to one visit.

Sources

  1. MIFARE DESFire EV3 contactless multi-application IC, MF3D(H)x3 short data sheet, Rev. 3.1 · NXP Semiconductors
  2. MIFARE Classic EV1 1K, MF1S50YYX_V1 data sheet, Rev. 3.2 · NXP Semiconductors
  3. MIFARE Classic: exposing the static encrypted nonce variant (ePrint 2024/1275) · Cryptology ePrint Archive, Philippe Teuwen
  4. Introducing Aliro 1.0 · Connectivity Standards Alliance
  5. Add an employee badge to Apple Wallet · Apple
  6. Access key types, Apple Platform Security · Apple
  7. IEC 60839-11-1:2013 and IEC 60839-11-5:2020, publication records · IEC
  8. QR Code standardization · DENSO WAVE
  9. QR Code Model 1 and Model 2 (version 40, 177 x 177 modules, up to 7,089 numerals) · DENSO WAVE
  10. IEC 60839-11-5:2020, Open supervised device protocol (OSDP), publication record · IEC
  11. MIFARE DESFire EV3, pagina prodotto MF3DHx3 (features, EV3, EV2, EV1 comparison, document list) · NXP Semiconductors
  12. MIFARE Classic EV1 1K - 4K, pagina prodotto (features and document list) · NXP Semiconductors
  13. MIFARE Classic, pagina della famiglia (Security column: MIFARE CRYPTO1) · NXP Semiconductors
  14. Information capacity and versions of QR Code (version 40: 7,089 digits, 4,296 alphanumeric characters, 2,953 bytes) · DENSO WAVE
  15. Error correction feature (levels L, M, Q, H: about 7, 15, 25 and 30%) · DENSO WAVE

How to cite this article, freely, with a link

Sentinary, ‘Card, PIN, phone or QR: access control credentials compared’, published 1 December 2026, https://sentinary.com/en/access-control-credentials-card-pin-phone-qr/

This article in other languages

A real case, a correction, a topic to suggest? Write to the editorial team

Read next

NVR, DVR or cloud CCTV recording: how to choose

DVR, NVR, cloud and hybrid CCTV recording compared: storage and bandwidth worked out with real numbers, retention, GDPR processors, security and line failure.

Technology ·

We use your email to send you the newsletter (legal basis: your consent) and keep it until you unsubscribe. Right after you submit, you will get a confirmation email: the subscription only counts once you click the link, and without confirmation we delete the email after 30 days. As proof of consent we keep the wording of the box you ticked, the date, the page and the language, together with your data and for as long as it stays in our records. Details and rights in the full privacy notice.