Go Down

Topic: Question with Mifare RFID library (Read 1 time) previous topic - next topic


Hello, I'm new to Arduino and is attempting to understand a library by Marcboon for using Arduino with RFID at


While reading the data blocks, does the sample code tell us it is not readable due to authentication problem?

My understanding about Mifare is each block can be encrypted with a 48-bit key. And the library above provided a sample code like this:

            rfid.authenticate(block >> 2);

I'm trying with a Mifare card from a friend, but I couldn't tell the blocks are encrypted or not. Putting the card to the reader does return blocks as expected, but some lines are all 00. Put it another way, if the blocks are already encrypted, will i see error messages instead with this library, instead of seemingly all 00s data?

Thanks in advance.

Go Up