DESFire vs NTAG
DESFire provides AES-128 encryption, multiple isolated applications, and up to 32 KB of file-based memory for high-security card systems. NTAG offers simple NDEF storage with optional password protection, while NTAG 424 DNA bridges the gap with AES-128 and secure URL authentication.
DESFire vs NTAG: Choosing Between Multi-Application Security and NDEF Simplicity
MIFARE DESFire and NTAG are both NFC chip families from NXP Semiconductors, both operating as ISO 14443 Type A devices at 13.56 MHz. They serve diametrically different market segments: DESFire is a multi-application, high-security smart card IC designed for transit, access control, and government identity; NTAG is an NFC Forum- compliant, NDEF-first tag family designed for consumer product interaction, smart packaging, and IoT. Selecting the wrong family for an application is a common and costly mistake.
Overview
MIFARE DESFire (currently in EV3 generation) is a 32-bit CPU-based contactless smart card microcontroller with 2–32 KB of user-configurable EEPROMEEPROMNon-volatile memory technology retaining data without powerView full → (depending on variant). The file system supports up to 28 applications, each with its own AES-128 key set, and up to 32 files per application. Each file can have independent access rights: read key, write key, read/write key, and change key. The ISO 7816-4 APDU command set enables integration with smart card middleware frameworks. DESFire EV3 adds ECC-based cryptography and TransactionMAC for offline transaction integrity verification.
NTAG family:
- NTAG 213/215/216: NFC ForumNFC ForumIndustry body developing NFC standards, specifications, and certifications since 2004View full → Type 2, 144/504/888 bytes user memory, 32-bit password, NDEF pre-formatted. Designed for URL, vCard, and app-launch delivery via native smartphone NFC handling — no app required.
- NTAG 424 DNA: NFC Forum Type 4, 256 bytes user memoryuser memoryTag memory portion available for user data storageView full →, AES-128 with Secure Dynamic Messaging (SDM). Generates a per-tap cryptographic URL for server-side anti-counterfeiting verification.
- NTAG 424 DNA TagTamper: Adds a tamper detection loop — breaks the NFC circuit if the tag is peeled or the loop is severed.
Key Differences
- Memory model: NTAG uses flat block-addressed NDEF records. DESFire uses a hierarchical application/file directory with per-key access control.
- Multi-application: DESFire supports up to 28 independent applications with separate key sets — transit + access + payment + loyalty on one card. NTAG has no multi-application architecture.
- Security architecture: NTAG 21x uses a 32-bit password. NTAG 424 DNA uses AES-128 with SUN authenticationauthenticationIdentity verification of NFC tags/readers via passwords or cryptographyView full → and per-tap cryptographic URL generation. DESFire EV3 uses AES-128 + ECC + TransactionMAC — offline transaction integrity verification that NTAG cannot provide.
- NDEF interoperabilityinteroperabilityCross-manufacturer device/tag compatibility guaranteeView full →: NTAG ships NDEF-formatted and is read natively by any NFC-enabled device without an app. DESFire requires application selection via ISO 7816-4 APDUs — a standard NFC readerNFC readerActive device generating RF field to initiate communication with tagsView full → cannot read DESFire data without DESFire-specific software.
- Write enduranceWrite enduranceMaximum write/erase cycles before memory degradation (typically 100K)View full →: NTAG 21x: 100,000 write cycles. DESFire EV3: 500,000 write cycles (5x more) — critical for frequently updated transit or access applications.
- Data retentionData retentionEEPROM data storage guarantee period (typically 10 years)View full →: NTAG: 10 years. DESFire EV3: 25 years — relevant for government identity documents and transit cards with 10+ year expected lifetimes.
- Tag cost: NTAG 213 inlays cost $0.03–$0.10 at volume. DESFire EV3 chips cost $1.00–$3.00+ depending on memory variant — an order of magnitude more expensive.
Technical Comparison
| Parameter | NTAG 213 | NTAG 424 DNA | DESFire EV2 (2K) | DESFire EV3 (8K) |
|---|---|---|---|---|
| NFC Forum type | Type 2 | Type 4 | Type 4 (APDU) | Type 4 (APDU) |
| User memory | 144 bytes | 256 bytes | 2 KB | 8 KB |
| Security | 32-bit password | AES-128 + SDM/SUN | AES-128 + 3DES | AES-128 + ECC |
| Applications | 1 (flat NDEF) | 1 (3 files) | Up to 28 | Up to 28 |
| Files per application | N/A | 3 | Up to 32 | Up to 32 |
| Per-file access rights | No | Limited | Yes (4 keys/file) | Yes (4 keys/file) |
| Write endurance | 100,000 | 100,000 | 500,000 | 500,000 |
| Data retention | 10 years | 10 years | 25 years | 25 years |
| ISO 7816-4 APDU | No | No | Yes | Yes |
| TransactionMAC | No | No | No | Yes |
| NDEF native read | Yes (any phone) | Yes (any phone) | No (requires app) | No (requires app) |
| Typical IC cost | $0.03–$0.10 | $0.20–$0.50 | $0.80–$1.50 | $1.50–$3.00+ |
| SDM / SUN | No | Yes | No | No (uses TMAC) |
Use Cases
NTAG Optimal Scenarios
- Consumer product smart labels: NFC tags on wine bottles, sneakers, luxury goods, and electronics use NTAG 213/216 for URL delivery. Any phone reads them instantly.
- Anti-counterfeiting on mass-market products: NTAG 424 DNA with SDM enables per-tap AES-encrypted URL verification at $0.20–$0.50 per tag — cost-effective for mid-volume premium goods.
- NFC business cards: NTAG 213 stores a vCard or URL in 144 bytes — sufficient for contact information, at the lowest per-tag cost.
- IoT sensor tags: NTAG I2C provides a combined NFC/I2C interface enabling a smartphone to read sensor data directly via tap without a gateway.
- Toy and game interaction (amiibo): Nintendo amiibo uses NTAG 215 — the 504-byte capacity fits the amiibo data structure exactly at volume pricing.
DESFire Optimal Scenarios
- Transit fare collection systems: TfL (London), MTA (NYC), STIB (Brussels), and hundreds of other transit operators use DESFire EV1/EV2/EV3. The 500,000 write endurance, 25-year retention, and multi-application architecture are required.
- Building access control: Enterprise building management uses DESFire for multi-tenant key management — each tenant has a separate application with its own AES keys, without cross-tenant access risk.
- Government ID and national eID: Multi-application DESFire cards host eID, health insurance, driver's license, and transit functions on a single card.
- Canteen and vending payment: Closed-loop loyalty and payment programs benefit from DESFire's value file type — specifically designed for storable monetary value with credit/debit operations and transaction MAC.
- High-frequency write applications: Loyalty counters updated on every store visit require write endurance beyond NTAG's 100,000 cycles — DESFire EV3's 500,000 cycles support 1 update/day for 1,370 years.
When to Choose Each
Choose NTAG 21x when:
- Mass-market consumer URL/vCard delivery at lowest cost
- No app required — native smartphone NFC handling
- NFC Forum Type 2 certification is specified
- Write endurance of 100,000 cycles is sufficient
Choose NTAG 424 DNA when:
- Per-tap AES authentication without an app is required
- Anti-counterfeiting for mid-volume premium products
- SDM SUN message server-side URL verification
Choose DESFire EV2/EV3 when:
- Multi-application card architecture is needed
- Transit, building access, or government ID deployment
- 500,000 write endurance or 25-year data retention is required
- ISO 7816-4 APDU compatibility for smart card middleware
- Offline TransactionMAC verification (EV3 only)
Conclusion
DESFire and NTAG solve different problems at different price points. NTAG's flat NDEF model, native smartphone read, and sub-$0.50 economics make it the definitive choice for consumer product tags and IoT. DESFire's multi-application file system, superior write endurance, 25-year retention, and ISO 7816-4 compatibility make it the definitive choice for infrastructure-scale smart card systems where cost is secondary to capability and longevity. Attempting to use NTAG for a transit fare system, or DESFire for a consumer product label, is an architectural mismatch in either direction.
คำแนะนำ
Choose DESFire for multi-application smart cards (transit + access); NTAG for single-purpose tags; NTAG 424 DNA for tag-level authentication.