Hello everyone,
I'm currently develop in swift for reading the data in MIFare DESFire EV1 card.
The procedure i've already done is get Application IDs, selection Application IDs, get File IDs.
However, I got the problem for the authentication with AES.
Can anyone help me for the procedure with the authentication? I should do the authentication before reading date? or reading data need some decode key in authentication response?
What is the commad I should use with "sendMiFareCommand"?
authenticateCommand: [UInt8] = [0xAA, 0x00] ? or
authenticateCommand: [UInt8] = [0x90, 0xAA, 0x00]?
Thank you.
Hello @Truck
One point needs to pay attention, if you want to use AES cypto, then you create the AID should be the AES type, that is to say, the type of cyprto AID and the authentication key is the same. So , please make sure whether your Application is the AES type.