General-Authenticate command
The General-Authenticate command is used to perform the authentication sequence on a MIFARE card. This command is only applicable for MIFARE Mini, Classic 1k and 4k cards. The format of the command and response for the command is as below,
Command | Class | INS | P1 | P2 | Lc | Data In | ||||
---|---|---|---|---|---|---|---|---|---|---|
General-Authenticate | 0xFF | 0x86 | 0x00 | 0x00 | 0x05 | 0x01 | Address MSB | Address LSB | Key Type A or B | Key Number |
Response Format
Response | |
---|---|
SW1 | SW2 |
Related topics
Near field communication (NFC) design guide