Forum Replies Created

  • Re: Reply To: Mifare DesFire Authentication

    20. June 2016 at 17:00
    in reply to: Mifare DesFire Authentication
    Ok, thanks Kind.

    I have tried to establish encrypt data transmission between smart card and reader using session key. The session key i get from random A and random B. I have communication setting when create file with 0x03 (that means enciphered communication ?).

    this is on my step that i have tried.

    1. CRC16 Calculation over
    ->’cmd+fileNo+offset+length+data’
    2. Append CRC16 to the data only without command, fileNo, offset and length.
    -> ‘data+CRC16’
    3. Padd the ‘data+CRC16’ with 0x00 (NOT 0x80, 0x00…) to a multiple of 16 Bytes, if needed.
    -> ‘data+CRC32+Zeropadding’
    4. Encrypt ‘data+CRC16+Zeropadding’ with Single DES
    -> crypted( ‘data+CRC16+Zeropadding’ )
    5. Send to the PICC
    ->’cmd+fileNo+offset+length + crypted(data+CRC16+Zeropadding)’

    write command :
    ff 00 00 00 1c d4 40 01 3d 00 00 00 00 11 00 00 8a 2b c7 21 23 24 47 73 1c c6 06 db b5 18 cd 90 00

    when i Write data to PICC, i get response from PICC :
    D5 41 00 af 90 00

    when i read data to PICC, i get response from PICC :
    24 byte message length of data,

    And i decrypt that message and the result is zero value and only 2 byte data not zero. why ?

    But i still confuse how to securing transmission ? do you have tutorial for secure transmission? i'm very need help... thanks...
    + 0  |  - 0

    Re: Reply To: Mifare DesFire Authentication

    16. June 2016 at 10:36
    in reply to: Mifare DesFire Authentication
    Hi All, how to use fully enciphered communication in Mifare Desfire using DES algorithm? I use single DES authentication. I create reader using ACR122U and i use Java programming in my PC. I have success for authentication but i want to Enciphered Communication. Thanks for help before..
    + 0  |  - 0
Viewing 2 posts - 1 through 2 (of 2 total)