smartcard - How to change master key of DESfire cards?What is deciphered key? -
i want change master key of desfire card. read mifare desfire datasheet already, new in field, couldn't understand it.
it explained how change key @ page 37
of above document.
can give me example or step step tutorial changing keys? (including associated apdu commands)
what deciphered key
mentioned in document? shall decipher new key , use in command? if so, how decipher key data?
your decipheredkey
cbc-mode decrypted value of new key 0 initial vector.
this mifare desfire feature: terminal always decrypts (even hide plaintext!) , desfire card always encrypts. based on fact, decryption , encryption using symmetric ciphers des, 3des or aes inverse functions, can both used both hiding , revealing plaintext.
it helps improve performance - desfire card not have switch cipher mode encryption decryption each apdu.
see page 12 of document.
Comments
Post a Comment