DESFire EV1 using AES encryption

Forum / MIFARE general topics and applications / DESFire EV1 using AES encryption

  • 11. April 2015 at 10:31
    I need some tecnical document with all the workflow to authenticate, read and write data to a DESFire EV1 card using AES encryption.
    Any help would be great!
    + 0  |  - 0

    Re: DESFire EV1 using AES encryption

    12. April 2015 at 22:00
    Hey Pedro,

    Do you use Mifare SDK ? Advanced or Lite ?
    If yes, I can provide you with some sample codes on how to authenticate with EV1 and how to read / write data.
    With the Advanced SDK it's a piece of cake, but I also have some samples with Lite version ;)

    Please, let me know if that is what you are looking for! :)

    BR,
    David
    + 0  |  - 0

    Re: DESFire EV1 using AES encryption

    20. October 2015 at 15:14
    Hi David92


    I am trying to achieve the same thing as pedro74, do you think you can give me some tips on how to do that.

    You mentioned that you have some sample codes as well??

    I purchased some DESfire EV1, trying to figure out how to do the select/authenticate(decrypt) then write/read and encrypt. Looking to encrypt with AES 128.

    I only have the LITE SDK. If i can achieve the above with just the LITE SDK??

    I am working with the Android SDK LITE.

    Thanks for your time
    Best Regards
    Clark
    + 0  |  - 0

    Re: DESFire EV1 using AES encryption

    1. March 2016 at 14:55
    Hi Clark,

    You can implement your application with the MIDARE SDK Lite, of course. It is difficult to give examples, because it depends of the needs of your use-case.

    Generally you bundle your files to an application and set access rights and keys for that application. This is the architecture of the MIFARE DESFire EV1. Grouping files and access conditions to applications allows a third party also to put its application onto the card. Think about a transport provider issues a transport card and a gift shop which offers booking from a debit account in a separate application on the card.

    The DESFire EV1 provides data files, value files and backup files where you can store different data types of your application. For each file you can give access permissions, e.g.: free read access, write access restricted to a key #1, read access encrypted with key #2 etc.
    As I mentioned earlier it depends on the type of your use-case…

    The MIFARE Team
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.