Problem with decrypt key 0 in C#

Forum / MIFARE SmartCard IC`s / Problem with decrypt key 0 in C#

  • 29. August 2018 at 10:42
    With key number 0 and key="00..0" (32 times),I try this:

    Initiating auth. cde by PCD ->90 0A 00 00 01 00 00

    Receive <-14 4B D4 E8 6D C4 FC 1C 91 AF (last 4 car=response OK)

    I try to decrypt the string (14..1C) with .net framework implementation TripleDESCryptoServiceProvider,

    and IV=new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };

    and key=new byte[] {0x00,...,0x00}(32 times)

    BUT decrypt doesn't work.

    Can somebody help me?

    Thanks in advance.
    + 0  |  - 0

    Re: Problem with decrypt key 0 in C#

    29. August 2018 at 12:08
    I forget: Mifare Desfire EV1
    + 0  |  - 0

    Re: Problem with decrypt key 0 in C#

    30. August 2018 at 17:16
    Hi Alain,

    I cannot say anything about the implementation in other frameworks. For the communication for the MIFARE DESfire, I recommend reading the application note:

    AN0945 – MIFARE DESFire EV1 – Features and Hints

    You will find all information you need for encrypted communication and authentication. It is available in NXP DocStore.

    The TapLinx team

    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.